Skip to content

Commit

Permalink
windows portable
Browse files Browse the repository at this point in the history
  • Loading branch information
pablopunk committed Feb 2, 2016
1 parent bd35bf0 commit 05a1bf9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 6 additions & 3 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 05a1bf9

Please sign in to comment.