Commit 6117ab568c5ed73ba23606e1414b7f6898682c68
start git-ssb on mac even when running as standalone app
Matt McKegg committed on 7/2/2017, 10:34:10 AMParent: 82a96b629ecd33129d1425e4c65783ff6d30acfb
Files changed
package.json | changed |
server-process.js | changed |
package.json | ||
---|---|---|
@@ -22,8 +22,9 @@ | ||
22 | 22 … | "depnest": "^1.0.2", |
23 | 23 … | "electron-default-menu": "~1.0.0", |
24 | 24 … | "electron-spellchecker": "^1.0.4", |
25 | 25 … | "electron-window-state": "^4.1.0", |
26 … | + "fix-path": "^2.1.0", | |
26 | 27 … | "flatpickr": "^3.0.5-1", |
27 | 28 … | "flumeview-level": "^2.0.3", |
28 | 29 … | "hashlru": "^2.2.0", |
29 | 30 … | "insert-css": "~2.0.0", |
server-process.js | ||
---|---|---|
@@ -2,8 +2,9 @@ | ||
2 | 2 … | var fs = require('fs') |
3 | 3 … | var Path = require('path') |
4 | 4 … | var electron = require('electron') |
5 | 5 … | var spawn = require('child_process').spawn |
6 … | +var fixPath = require('fix-path') | |
6 | 7 … | |
7 | 8 … | var createSbot = require('scuttlebot') |
8 | 9 … | .use(require('scuttlebot/plugins/master')) |
9 | 10 … | .use(require('scuttlebot/plugins/gossip')) |
@@ -20,8 +21,10 @@ | ||
20 | 21 … | .use(require('ssb-contacts')) |
21 | 22 … | //.use(require('ssb-ebt')) // enable at your own risk! |
22 | 23 … | .use(require('./sbot')) |
23 | 24 … | |
25 … | +fixPath() | |
26 … | + | |
24 | 27 … | module.exports = function (ssbConfig) { |
25 | 28 … | var context = { |
26 | 29 … | sbot: createSbot(ssbConfig), |
27 | 30 … | config: ssbConfig |
Built with git-ssb-web