--- ./syncthing/STApplication.m 2024-05-20 15:40:30 +++ ./syncthing/STApplication.m 2024-05-20 15:42:18 @@ -73,9 +73,7 @@ _executable = self.arguments = [defaults stringForKey:@"Executable"]; if (!_executable) { - _executable = [NSString stringWithFormat:@"%@/%@", - [[NSBundle mainBundle] resourcePath], - @"syncthing/syncthing"]; + _executable = @"__PREFIX__/bin/syncthing"; [defaults setValue:_executable forKey:@"Executable"]; } --- ./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="1.27.7" SYNCTHING_DIST_URL="https://github.com/syncthing/syncthing/releases/download"