Skip to content

Commit 66c2fac

Browse files
committed
[Fix] Fix desktop app crashes
Close #842
1 parent 4e7586e commit 66c2fac

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

app/scripts/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define(['underscore'], function (_) {
1111

1212
var constants = {};
1313

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

1717
// List of hosts and urls where default dropbox API will work

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laverna",
3-
"version": "0.7.5",
3+
"version": "0.7.51",
44
"license": "MPL-2.0",
55
"dependencies": {
66
"backbone": "~1.3.3",

electron.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,19 @@ appHelper = {
142142
*/
143143
onReady: function() {
144144
this
145-
.interceptProtocol()
145+
.startServer()
146+
// .interceptProtocol()
146147
.createWindow()
147148
.createMenu()
148149
.createTray()
149150
.registerEvents();
150151
},
151152

153+
startServer() {
154+
require('./server')(9000);
155+
return this;
156+
},
157+
152158
/**
153159
* Override HTTP protocol. The reason:
154160
* In order to make oAuth authentifications to Dropbox/RemoteStorage,

gulps/electron.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = function(gulp, plugins, pkg) {
2323
packageJson : pkg,
2424
release : './release',
2525
cache : './.tmp',
26-
version : 'v1.7.8',
26+
version : 'v1.6.5',
2727
packaging : true,
2828
// rebuild : true,
2929
platforms : platforms,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laverna",
3-
"version": "0.7.5",
3+
"version": "0.7.51",
44
"license": "MPL-2.0",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)