Skip to content

Commit

Permalink
Update to latest version of inkjs.
Browse files Browse the repository at this point in the history
  • Loading branch information
joethephish committed Mar 6, 2017
1 parent ef7a7bd commit b9715d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions app/main-process/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@ const forceQuitDetect = require('./forceQuitDetect');
const Inklecate = require("./inklecate.js").Inklecate;

function inkJSNeedsUpdating() {
//return false;

dialog.showMessageBox({
type: 'error',
buttons: ['Okay'],
title: 'Export for web unavailable',
message: "Sorry, export for web is currently disabled, until inkjs is updated to support the latest version of ink, which supports lists. If you don't need lists support and need to export to web, you can download version 0.6.4 of Inky and use that instead."
});
return true;
return false;
// dialog.showMessageBox({
// type: 'error',
// buttons: ['Okay'],
// title: 'Export for web unavailable',
// message: "Sorry, export for web is currently disabled, until inkjs is updated to support the latest version of ink. You can download a previous version of Inky that supports inkjs and use that instead, although some of the latest features of ink may be missing."
// });
// return true;
}


app.on('will-finish-launching', function () {
app.on("open-file", function (event, path) {
ProjectWindow.open(path);
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"dependencies": {
"chokidar": "^1.6.0",
"inkjs": "^1.4.3",
"inkjs": "^1.5.0",
"lodash": "^4.13.1",
"mkdirp": "^0.5.1",
"randomstring": "^1.1.5"
Expand Down

0 comments on commit b9715d1

Please sign in to comment.