diff --git a/package-lock.json b/package-lock.json index bcc2495..43cc141 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "altarik-launcher", - "version": "0.5.0", + "version": "0.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 29420b9..786dbc2 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,15 @@ { "name": "altarik-launcher", "author": "Altarik", - "version": "0.5.0", + "version": "0.6.0", "description": "Altarik Launcher", "main": "src/server/main.js", "repository": "AltarikMC/Launcher", "bugs": "https://github.com/AltarikMC/Launcher/issues", "keywords": [], "contributors": [ - "SexiestCHiba" + "SexiestCHiba", + "Altarik" ], "maintainers": [ "SexiestCHiba" diff --git a/src/client/assets/js/script.js b/src/client/assets/js/script.js index 78d88e3..5b4cc20 100644 --- a/src/client/assets/js/script.js +++ b/src/client/assets/js/script.js @@ -1,13 +1,12 @@ 'use strict'; const { ipcRenderer, shell } = require('electron'); -// const isDev = require("electron-is-dev") -const vue = require(/*isDev ? */ 'vue/dist/vue'/* : 'vue' */) +const vue = require('vue/dist/vue.common.prod') window.addEventListener("DOMContentLoaded", () => { const minimizeButton = document.getElementById("minimize-btn") const closeButton = document.getElementById("close-btn") - minimizeButton.addEventListener("click", e => ipcRenderer.send('minimizeWindow')) + minimizeButton.addEventListener("click", () => ipcRenderer.send('minimizeWindow')) - closeButton.addEventListener("click", e => ipcRenderer.send('closeWindow')) + closeButton.addEventListener("click", () => ipcRenderer.send('closeWindow')) }) diff --git a/src/server/main.js b/src/server/main.js index 7299b54..865c713 100644 --- a/src/server/main.js +++ b/src/server/main.js @@ -30,7 +30,7 @@ function createWindow () { frame: false, nativeWindowOpen: true }) - // Menu.setApplicationMenu(null) + Menu.setApplicationMenu(null) win.loadFile('src/client/login.html') win.on("close", () => { app.quit()