mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Add auto-update and fix bug
This commit is contained in:
		
							parent
							
								
									cf00173fe9
								
							
						
					
					
						commit
						e00827c197
					
				
					 4 changed files with 125 additions and 240 deletions
				
			
		
							
								
								
									
										1
									
								
								main.js
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								main.js
									
										
									
									
									
								
							|  | @ -2,6 +2,7 @@ | |||
| const { app, BrowserWindow, session } = require('electron') | ||||
| const path = require('path') | ||||
| require("v8-compile-cache"); | ||||
| require("update-electron-app")(); | ||||
| let mainWindow | ||||
| require("./menu.js") | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										362
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										362
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							|  | @ -12,6 +12,7 @@ | |||
|   "license": "MIT", | ||||
|   "dependencies": { | ||||
|     "custom-electron-titlebar": "3.2.6", | ||||
|     "update-electron-app": "^2.0.1", | ||||
|     "v8-compile-cache": "^2.3.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|  |  | |||
|  | @ -3,7 +3,6 @@ const customTitlebar = require('custom-electron-titlebar') | |||
| window.addEventListener('DOMContentLoaded', () => { | ||||
|   new customTitlebar.Titlebar({ | ||||
|     backgroundColor: customTitlebar.Color.fromHex("#2C2F33"), | ||||
|     titleHorizontalAlignment | ||||
|   }); | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue