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",
"private": true,
"productName": "Volta",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"author": "Niccolo Borgioli",
"main": "./src/main.js",
"scripts": {
"pack:native": "electron-builder",
"pack:mac": "electron-builder --mac",
"pack:win": "electron-builder --win",
"pack:linux": "electron-builder --linux",
"pack:all": "electron-builder -mwl",
"pack:mac": "electron-builder -m",
"start": "electron ."
},
"devDependencies": {
@ -23,4 +19,4 @@
"battery-level": "^3",
"electron-settings": "^3"
}
}
}

View File

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