File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " Selvania-Launcher" ,
33 "preductname" : " Selvania Launcher" ,
4- "version" : " 1.0.3-alpha.1 " ,
4+ "version" : " 1.0.2 " ,
55 "description" : " Launcher Mincraft custom (crack, premium)" ,
66 "main" : " src/app.js" ,
77 "author" : " Luuxis" ,
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const fs = require('fs');
1313const UpdateWindow = require ( "./assets/js/windows/updateWindow.js" ) ;
1414const MainWindow = require ( "./assets/js/windows/mainWindow.js" ) ;
1515
16+ let data
1617let dev = process . env . NODE_ENV === 'dev' ;
1718
1819if ( dev ) {
@@ -59,6 +60,8 @@ app.on('window-all-closed', () => {
5960 if ( process . platform !== 'darwin' ) app . quit ( ) ;
6061} ) ;
6162
63+ autoUpdater . autoDownload = false ;
64+
6265ipcMain . on ( 'update-app' , ( ) => {
6366 autoUpdater . checkForUpdates ( ) ;
6467} )
Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ class Splash {
7474
7575 startLauncher ( ) {
7676 this . setStatus ( `Démarrage du launcher` ) ;
77- // ipcRenderer.send('main-window-open');
78- // ipcRenderer.send('update-window-close');
77+ ipcRenderer . send ( 'main-window-open' ) ;
78+ ipcRenderer . send ( 'update-window-close' ) ;
7979 }
8080
8181 shutdown ( text ) {
You can’t perform that action at this time.
0 commit comments