Skip to content

Commit 84f29e2

Browse files
committed
finish test
1 parent fd8c205 commit 84f29e2

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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",

src/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const fs = require('fs');
1313
const UpdateWindow = require("./assets/js/windows/updateWindow.js");
1414
const MainWindow = require("./assets/js/windows/mainWindow.js");
1515

16+
let data
1617
let dev = process.env.NODE_ENV === 'dev';
1718

1819
if (dev) {
@@ -59,6 +60,8 @@ app.on('window-all-closed', () => {
5960
if (process.platform !== 'darwin') app.quit();
6061
});
6162

63+
autoUpdater.autoDownload = false;
64+
6265
ipcMain.on('update-app', () => {
6366
autoUpdater.checkForUpdates();
6467
})

src/assets/js/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)