4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-22 06:19:50 +01:00

Dump to 0.6.0

This commit is contained in:
Quentin Legot 2021-09-19 18:20:36 +02:00
parent 59a12285c0
commit 3c3f5b532b
4 changed files with 8 additions and 8 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "altarik-launcher", "name": "altarik-launcher",
"version": "0.5.0", "version": "0.6.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,14 +1,15 @@
{ {
"name": "altarik-launcher", "name": "altarik-launcher",
"author": "Altarik", "author": "Altarik",
"version": "0.5.0", "version": "0.6.0",
"description": "Altarik Launcher", "description": "Altarik Launcher",
"main": "src/server/main.js", "main": "src/server/main.js",
"repository": "AltarikMC/Launcher", "repository": "AltarikMC/Launcher",
"bugs": "https://github.com/AltarikMC/Launcher/issues", "bugs": "https://github.com/AltarikMC/Launcher/issues",
"keywords": [], "keywords": [],
"contributors": [ "contributors": [
"SexiestCHiba" "SexiestCHiba",
"Altarik"
], ],
"maintainers": [ "maintainers": [
"SexiestCHiba" "SexiestCHiba"

View File

@ -1,13 +1,12 @@
'use strict'; 'use strict';
const { ipcRenderer, shell } = require('electron'); const { ipcRenderer, shell } = require('electron');
// const isDev = require("electron-is-dev") const vue = require('vue/dist/vue.common.prod')
const vue = require(/*isDev ? */ 'vue/dist/vue'/* : 'vue' */)
window.addEventListener("DOMContentLoaded", () => { window.addEventListener("DOMContentLoaded", () => {
const minimizeButton = document.getElementById("minimize-btn") const minimizeButton = document.getElementById("minimize-btn")
const closeButton = document.getElementById("close-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'))
}) })

View File

@ -30,7 +30,7 @@ function createWindow () {
frame: false, frame: false,
nativeWindowOpen: true nativeWindowOpen: true
}) })
// Menu.setApplicationMenu(null) Menu.setApplicationMenu(null)
win.loadFile('src/client/login.html') win.loadFile('src/client/login.html')
win.on("close", () => { win.on("close", () => {
app.quit() app.quit()