--- ./syncthing/STApplication.m 2024-05-20 15:40:30 +++ ./syncthing/STApplication.m 2024-05-20 15:42:18 @@ -87,9 +87,7 @@ } if (!_executable) { - _executable = [NSString stringWithFormat:@"%@/%@", - [[NSBundle mainBundle] resourcePath], - @"syncthing/syncthing"]; + _executable = @"__PREFIX__/bin/syncthing"; } _syncthing.URI = [defaults stringForKey:@"URI"]; --- ./syncthing/Scripts/syncthing-resource.sh 2024-05-20 15:42:49 +++ ./syncthing/Scripts/syncthing-resource.sh 2024-05-20 15:43:06 @@ -1,6 +1,8 @@ #!/bin/bash set -euo pipefail +exit 0 + # Download and unpack syncthing into ${PRODUCT_NAME}.app/Contents/Resources SYNCTHING_VERSION="2.0.3" SYNCTHING_DIST_URL="https://github.com/syncthing/syncthing/releases/download"