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:
parent
59a12285c0
commit
3c3f5b532b
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "altarik-launcher",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -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"
|
||||
|
@ -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'))
|
||||
})
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user