Skip to content

Commit

Permalink
Build for windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cu3PO42 committed Jul 28, 2015
1 parent 5fb3624 commit 9b3c599
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 2 deletions.
3 changes: 3 additions & 0 deletions app/elements/pkm-list/pkm-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ var fs = require("fs");
},
typeName: function (typeId) {
return nameData["en"]["types"][typeId];
},
toJson: function (e) {
return new handlebars.SafeString(JSON.stringify(e));
}
});
var PkmList = (function (_super) {
Expand Down
3 changes: 3 additions & 0 deletions app/elements/pkm-list/pkm-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ var pkmFormat = handlebars.registerHelper({
},
typeName: function(typeId) {
return nameData["en"]["types"][typeId];
},
toJson: function(e) {
return new handlebars.SafeString(JSON.stringify(e));
}
});

Expand Down
10 changes: 8 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,20 @@ gulp.task('buildElectron', function() {
release: "./release",
cache: "./cache",
version: "v0.30.1",
platforms: ["darwin-x64"],
platforms: ["darwin-x64", "win32-ia32"],
platformResources: {
darwin: {
CFBundleDisplayName: "KeySAVe",
CFBundleIdentifier: "com.cu3po42.keysave",
CFBundleName: "KeySAVe",
CFBundleVersion: packageJson.version,
icon: "keysave-logo.icns"
icon: "resources/keysave-logo.icns"
},
win: {
"version-string": packageJson.version,
"file-version": packageJson.version,
"product-version": packageJson.version,
"icon": "resources/keysave-logo.ico"
}
}
}))
Expand Down
Binary file removed keysave-logo.icns
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"connect-history-api-fallback": "^1.1.0",
"del": "^1.1.1",
"electron-packager": "^5.0.1",
"electron-prebuilt": "^0.30.1",
"glob": "^5.0.6",
"gulp": "^3.8.5",
"gulp-autoprefixer": "^2.1.0",
Expand Down
Binary file added resources/keysave-logo-1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/keysave-logo-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/keysave-logo-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/keysave-logo-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/keysave-logo-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/keysave-logo-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/keysave-logo-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/keysave-logo-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/keysave-logo.icns
Binary file not shown.
Binary file added resources/keysave-logo.ico
Binary file not shown.
Binary file added resources/keysave-logo.idraw
Binary file not shown.

0 comments on commit 9b3c599

Please sign in to comment.