Skip to content

Commit

Permalink
[Fix] Fix desktop app crashes
Browse files Browse the repository at this point in the history
Close #842
  • Loading branch information
wwebfor committed Oct 1, 2017
1 parent 4e7586e commit 66c2fac
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/scripts/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ define(['underscore'], function (_) {

var constants = {};

constants.VERSION = '0.7.4-RC1';
constants.VERSION = '0.7.51';
constants.URL = location.origin + location.pathname.replace('index.html', '');

// List of hosts and urls where default dropbox API will work
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "laverna",
"version": "0.7.5",
"version": "0.7.51",
"license": "MPL-2.0",
"dependencies": {
"backbone": "~1.3.3",
Expand Down
8 changes: 7 additions & 1 deletion electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,19 @@ appHelper = {
*/
onReady: function() {
this
.interceptProtocol()
.startServer()
// .interceptProtocol()
.createWindow()
.createMenu()
.createTray()
.registerEvents();
},

startServer() {
require('./server')(9000);
return this;
},

/**
* Override HTTP protocol. The reason:
* In order to make oAuth authentifications to Dropbox/RemoteStorage,
Expand Down
2 changes: 1 addition & 1 deletion gulps/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = function(gulp, plugins, pkg) {
packageJson : pkg,
release : './release',
cache : './.tmp',
version : 'v1.7.8',
version : 'v1.6.5',
packaging : true,
// rebuild : true,
platforms : platforms,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "laverna",
"version": "0.7.5",
"version": "0.7.51",
"license": "MPL-2.0",
"repository": {
"type": "git",
Expand Down

0 comments on commit 66c2fac

Please sign in to comment.