mirror of
				https://github.com/Qortal/qortal-ui.git
				synced 2025-11-03 22:27:51 +00:00 
			
		
		
		
	Bump version 4.2.6
This commit is contained in:
		
							
								
								
									
										22
									
								
								electron.js
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								electron.js
									
									
									
									
									
								
							@@ -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)
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user