From 05a1bf9e60c8c86d47e37096abd41d6e19a969b1 Mon Sep 17 00:00:00 2001 From: Pablo Varela Date: Tue, 2 Feb 2016 22:59:50 +0100 Subject: [PATCH] windows portable --- README.md | 2 +- makefile | 3 ++- src/config.json | 9 ++++++--- src/package.json | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fd9278c..10db034 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Check `LICENSE.md` (MIT License) Also credits to: - [Random state scrambles](https://github.com/cubing/jsss) -- [Background gradients](http://uigradients.com)] +- [Background gradients](http://uigradients.com) Older versions included: - [Electron SuperKit](https://github.com/Aluxian/electron-superkit) for building and packaging diff --git a/makefile b/makefile index c752ff1..0bdec1e 100644 --- a/makefile +++ b/makefile @@ -12,7 +12,8 @@ osx: win: rm -rf dist/win cd src && electron-packager . Chronocube --platform win32 --arch=ia32 --version=0.30.1 --icon=img/icon.png --out=../build --overwrite && cd .. - cd src && electron-builder ../build/Chronocube-win32-ia32 --platform=win --out=../dist/win --config=config.json + cd src && electron-builder ../build/Chronocube-win32-ia32 --platform=win --out=../dist/win --config=config.json && cd .. + cd build && zip -r ../dist/win/windows-portable.zip Chronocube-win32-ia32 linux: make linux32 && make linux64 diff --git a/src/config.json b/src/config.json index ed4a7d7..3f48990 100644 --- a/src/config.json +++ b/src/config.json @@ -6,12 +6,15 @@ "icon": "../resources/darwin/app.icns", "icon-size": 80, "contents": [ - { "x": 438, "y": 300, "type": "link", "path": "/Applications" }, - { "x": 192, "y": 300, "type": "file" } + { "x": 438, "y": 250, "type": "link", "path": "/Applications" }, + { "x": 192, "y": 250, "type": "file" } ] }, "win" : { "title" : "Chronocube", - "icon" : "../resources/win/app.ico" + "version": "0.2.2", + "publisher": "Pablo Varela", + "icon" : "../resources/win/app.ico", + "verbosity": 1 } } diff --git a/src/package.json b/src/package.json index 296eaa7..5023940 100644 --- a/src/package.json +++ b/src/package.json @@ -1,7 +1,7 @@ { "name": "chronocube", "productName": "Chronocube", - "version": "0.2.1", + "version": "0.2.2", "description": "Cube timer", "main": "js/main.js", "license": "MIT",