Commits

Chih-Hsuan Yen authored 79cc2990857
syncthing-macos: new port, version 1.0.0-2
No tags

net/syncthing-macos/files/no-bundled-syncthing.patch

Added
1 +diff --git syncthing/STApplication.m syncthing/STApplication.m
2 +index ad04c5c..7d13769 100644
3 +--- syncthing/STApplication.m
4 ++++ syncthing/STApplication.m
5 +@@ -62,7 +62,7 @@ - (void)applicationLoadConfiguration {
6 +
7 + NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
8 +
9 +- _executable = [defaults stringForKey:@"Executable"];
10 ++ _executable = @"__PREFIX__/bin/syncthing";
11 + if (!_executable) {
12 + // We store the executable in ~/Library/Application Support/Syncthing-macOS/syncthing by default
13 + _executable = [[self applicationSupportDirectoryFor:@"Syncthing-macOS"] stringByAppendingPathComponent:@"syncthing"];
14 +diff --git syncthing/Scripts/syncthing-resource.sh syncthing/Scripts/syncthing-resource.sh
15 +index 8c53732..d91eb1b 100755
16 +--- syncthing/Scripts/syncthing-resource.sh
17 ++++ syncthing/Scripts/syncthing-resource.sh
18 +@@ -1,4 +1,7 @@
19 + #!/bin/bash
20 ++
21 ++exit 0
22 ++
23 + set -euo pipefail
24 +
25 + # Download and unpack syncthing into ${PRODUCT_NAME}.app/Contents/Resources

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut