4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-21 06:09:51 +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",
"version": "0.5.0",
"version": "0.6.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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"

View File

@ -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'))
})

View File

@ -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()