Bump version 4.2.6

This commit is contained in:
AlphaX-Projects
2023-07-08 17:42:58 +02:00
committed by GitHub
parent 26cbd269c3
commit 8b8b5fd8b6
3 changed files with 227 additions and 219 deletions

View File

@@ -54,17 +54,15 @@ if (myMemory > 16000000000) {
log.info("Memory Size Is 4GB Using JS Memory Heap Size 2GB")
}
if (process.platform === 'linux') {
if (process.arch === 'arm') {
app.disableHardwareAcceleration()
app.commandLine.appendSwitch('enable-experimental-web-platform-features')
log.info('We are on 32bit. Hardware Acceleration is disabled !')
} else {
app.commandLine.appendSwitch('enable-experimental-web-platform-features')
app.commandLine.appendSwitch('disable-renderer-backgrounding')
app.commandLine.appendSwitch('disable-http-cache')
log.info('We are on 64bit. Hardware Acceleration is enabled !')
}
if (process.arch === 'arm') {
app.disableHardwareAcceleration()
app.commandLine.appendSwitch('enable-experimental-web-platform-features')
log.info('We are on 32bit. Hardware Acceleration is disabled !')
} else {
app.commandLine.appendSwitch('enable-experimental-web-platform-features')
app.commandLine.appendSwitch('disable-renderer-backgrounding')
app.commandLine.appendSwitch('disable-http-cache')
log.info('We are on 64bit. Hardware Acceleration is enabled !')
}
if (process.platform === 'win32') {
@@ -1150,4 +1148,4 @@ if (!isLock) {
log.info("*** WHOOPS TIME ***" + err)
})
}
}