Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 6117ab5

Browse files
committed
start git-ssb on mac even when running as standalone app
1 parent 82a96b6 commit 6117ab5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
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",

server-process.js

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ 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'))
@@ -21,6 +22,8 @@ var createSbot = require('scuttlebot')
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),

0 commit comments

Comments
 (0)