From 352123dd3fe6932de0351320124baee3b1a65988 Mon Sep 17 00:00:00 2001 From: Antelle Date: Sat, 24 Oct 2015 23:29:53 +0300 Subject: [PATCH] installers --- util/electron-builder.json | 16 ++++++++++++++++ util/electron.sh | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 util/electron-builder.json diff --git a/util/electron-builder.json b/util/electron-builder.json new file mode 100644 index 00000000..ff27fc28 --- /dev/null +++ b/util/electron-builder.json @@ -0,0 +1,16 @@ +{ + "osx" : { + "title": "KeeWeb", + "background": "../graphics/dmg-bg.png", + "icon": "../graphics/app.icns", + "icon-size": 80, + "contents": [ + { "x": 438, "y": 344, "type": "link", "path": "/Applications" }, + { "x": 192, "y": 344, "type": "file" } + ] + }, + "win" : { + "title": "KeeWeb", + "icon": "graphics/app.ico" + } +} diff --git a/util/electron.sh b/util/electron.sh index fb5d9ea8..4d6fc8e2 100644 --- a/util/electron.sh +++ b/util/electron.sh @@ -1,5 +1,6 @@ electron-packager electron/ KeeWeb --platform=darwin --arch=x64 --version=0.34.0 --icon=graphics/app.icns -electron-installer-dmg ./KeeWeb-darwin-x64/KeeWeb.app KeeWeb --out=./ --background=./graphics/dmg-bg.png --icon=./graphics/app.icns --overwrite +electron-builder KeeWeb-darwin-x64/KeeWeb.app --platform=osx --out=. --config=./util/electron-builder.json +#electron-installer-dmg ./KeeWeb-darwin-x64/KeeWeb.app KeeWeb --out=./ --background=./graphics/dmg-bg.png --icon=./graphics/app.icns --overwrite rm -rf ./KeeWeb-darwin-x64/ electron-packager electron/ KeeWeb --platform=linux --arch=x64 --version=0.34.0 --icon=graphics/app.ico @@ -7,4 +8,5 @@ zip -r ./KeeWeb.linux.x64.zip ./KeeWeb-linux-x64/ rm -rf ./KeeWeb-linux-x64/ electron-packager electron/ KeeWeb --platform=win32 --arch=ia32 --version=0.34.0 --icon=graphics/app.ico +electron-builder KeeWeb-win32-ia32 --platform=win --out=. --config=./util/electron-builder.json rm -rf ./KeeWeb-win32-ia32/