Skip to content

Commit

Permalink
Document how to override the shipped syncthing daemon to be managed b…
Browse files Browse the repository at this point in the history
…y Syncthing macOS for a custom one. Fixes #212
  • Loading branch information
Jerry Jacobs committed Apr 3, 2024
1 parent 2028db9 commit cdd3c99
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,23 @@ jerry@Jerrys-iMac ~ % defaults read com.github.xor-gate.syncthing-macosx
}
```

### Override Syncthing Daeomon `Executable` property (power-users only)

If you want to use the nice GUI but have your own executable located outside the `Syncthing.app` bundle,
then the `Executable` configuration parameter can be manually overwritten with the `defaults` commandline
tool using builtin Terminal or iTerm2. The last arguments should be changed to the syncthing daemon golang
application.

```
defaults write com.github.xor-gate.syncthing-macosx Executable /Users/jerry/develop/Syncthing/exe/syncthing
```

To restore it back to the bundle path just use delete of the property. It will automatically reset it back.

```
defaults delete com.github.xor-gate.syncthing-macosx Executable
```

## Dependency management

[CocoaPods](https://cocoapods.org/) is used for dependency management. It can be installed
Expand Down

0 comments on commit cdd3c99

Please sign in to comment.