Removed support for windows and linux due tue missing testing

This commit is contained in:
nicco 2018-05-22 21:40:59 +02:00
parent 61e14685c8
commit 2ab2206f4d
2 changed files with 4 additions and 8 deletions

View File

@ -2,16 +2,12 @@
"name": "volta", "name": "volta",
"private": true, "private": true,
"productName": "Volta", "productName": "Volta",
"version": "1.0.0", "version": "1.0.1",
"license": "MIT", "license": "MIT",
"author": "Niccolo Borgioli", "author": "Niccolo Borgioli",
"main": "./src/main.js", "main": "./src/main.js",
"scripts": { "scripts": {
"pack:native": "electron-builder", "pack:mac": "electron-builder -m",
"pack:mac": "electron-builder --mac",
"pack:win": "electron-builder --win",
"pack:linux": "electron-builder --linux",
"pack:all": "electron-builder -mwl",
"start": "electron ." "start": "electron ."
}, },
"devDependencies": { "devDependencies": {
@ -23,4 +19,4 @@
"battery-level": "^3", "battery-level": "^3",
"electron-settings": "^3" "electron-settings": "^3"
} }
} }

View File

@ -29,7 +29,7 @@ let charging = undefined
let numMin = 0 let numMin = 0
let numMax = 0 let numMax = 0
app.dock.hide() if (app.dock !== undefined) app.dock.hide()
app.on('ready', () => { app.on('ready', () => {
createTray() createTray()