git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 6117ab568c5ed73ba23606e1414b7f6898682c68

start git-ssb on mac even when running as standalone app

Matt McKegg committed on 7/2/2017, 10:34:10 AM
Parent: 82a96b629ecd33129d1425e4c65783ff6d30acfb

Files changed

package.jsonchanged
server-process.jschanged
package.jsonView
@@ -22,8 +22,9 @@
2222 "depnest": "^1.0.2",
2323 "electron-default-menu": "~1.0.0",
2424 "electron-spellchecker": "^1.0.4",
2525 "electron-window-state": "^4.1.0",
26+ "fix-path": "^2.1.0",
2627 "flatpickr": "^3.0.5-1",
2728 "flumeview-level": "^2.0.3",
2829 "hashlru": "^2.2.0",
2930 "insert-css": "~2.0.0",
server-process.jsView
@@ -2,8 +2,9 @@
22 var fs = require('fs')
33 var Path = require('path')
44 var electron = require('electron')
55 var spawn = require('child_process').spawn
6+var fixPath = require('fix-path')
67
78 var createSbot = require('scuttlebot')
89 .use(require('scuttlebot/plugins/master'))
910 .use(require('scuttlebot/plugins/gossip'))
@@ -20,8 +21,10 @@
2021 .use(require('ssb-contacts'))
2122 //.use(require('ssb-ebt')) // enable at your own risk!
2223 .use(require('./sbot'))
2324
25+fixPath()
26+
2427 module.exports = function (ssbConfig) {
2528 var context = {
2629 sbot: createSbot(ssbConfig),
2730 config: ssbConfig

Built with git-ssb-web