Skip to content

Commit

Permalink
finish test
Browse files Browse the repository at this point in the history
  • Loading branch information
luuxis committed Jul 18, 2022
1 parent fd8c205 commit 84f29e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Selvania-Launcher",
"preductname": "Selvania Launcher",
"version": "1.0.3-alpha.1",
"version": "1.0.2",
"description": "Launcher Mincraft custom (crack, premium)",
"main": "src/app.js",
"author": "Luuxis",
Expand Down
3 changes: 3 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const fs = require('fs');
const UpdateWindow = require("./assets/js/windows/updateWindow.js");
const MainWindow = require("./assets/js/windows/mainWindow.js");

let data
let dev = process.env.NODE_ENV === 'dev';

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

autoUpdater.autoDownload = false;

ipcMain.on('update-app', () => {
autoUpdater.checkForUpdates();
})
Expand Down
4 changes: 2 additions & 2 deletions src/assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ class Splash {

startLauncher() {
this.setStatus(`Démarrage du launcher`);
// ipcRenderer.send('main-window-open');
// ipcRenderer.send('update-window-close');
ipcRenderer.send('main-window-open');
ipcRenderer.send('update-window-close');
}

shutdown(text) {
Expand Down

0 comments on commit 84f29e2

Please sign in to comment.