File tree Expand file tree Collapse file tree 5 files changed +19
-9
lines changed
Expand file tree Collapse file tree 5 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,29 @@ jobs:
1717 build-debug :
1818 name : Build debug
1919 if : github.event_name == 'push' && github.ref != 'refs/heads/release' # Debug not necessary on release branch (develop is intermediate branch)
20- runs-on : macos-latest
20+ runs-on : macos-13
2121 steps :
2222 - uses : actions/checkout@v4
2323 with :
2424 fetch-depth : 0
2525
2626 - name : Build debug target
27- run : |
28- make debug
27+ run : make debug
28+
29+ - name : Prepare debug build for artifact
30+ run : make debug-dist
31+
32+ - name : Archive artifacts
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : syncthing-macos-debug
36+ path : Build/Products/Debug/dist
2937
3038 build-release :
3139 name : Build release
3240 if : github.event_name == 'push' && github.ref == 'refs/heads/release'
3341 environment : signing
34- runs-on : macos-latest
42+ runs-on : macos-13
3543 steps :
3644 - uses : actions/checkout@v4
3745 with :
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ all: debug
22debug :
33 xcodebuild -workspace " syncthing.xcworkspace" -derivedDataPath $(PWD ) -configuration Debug -scheme Pods-syncthing
44 xcodebuild -workspace " syncthing.xcworkspace" -derivedDataPath $(PWD ) -configuration Debug -scheme syncthing
5+ debug-dist :
6+ mkdir -p Build/Products/Debug/dist
7+ cp -r Build/Products/Debug/Syncthing.app Build/Products/Debug/dist
58debug-dmg :
69 xcodebuild -workspace " syncthing.xcworkspace" -derivedDataPath $(PWD ) -configuration Debug -scheme Pods-syncthing
710 xcodebuild -workspace " syncthing.xcworkspace" -derivedDataPath $(PWD ) -configuration Debug -scheme syncthing-dmg
Original file line number Diff line number Diff line change 1414from urllib .request import urlopen
1515from string import Template
1616
17- distVersion = 1
17+ distVersion = 2
1818latest_url = "https://api.github.com/repos/syncthing/syncthing/releases/latest"
1919infoPlist = 'syncthing/Info.plist'
2020infoPlistTmpl = 'syncthing/Info.plist.tmpl'
Original file line number Diff line number Diff line change 1919 <key >CFBundlePackageType </key >
2020 <string >APPL </string >
2121 <key >CFBundleShortVersionString </key >
22- <string >1.29.2-1 </string >
22+ <string >1.29.2-2 </string >
2323 <key >CFBundleVersion </key >
24- <string >102900201 </string >
24+ <string >102900202 </string >
2525 <key >LSApplicationCategoryType </key >
2626 <string >public.app-category.utilities </string >
2727 <key >LSMinimumSystemVersion </key >
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ - (void)applicationLoadConfiguration {
7676 _executable = [NSString stringWithFormat: @" %@ /%@ " ,
7777 [[NSBundle mainBundle ] resourcePath ],
7878 @" syncthing/syncthing" ];
79- [defaults setValue: _executable forKey: @" Executable" ];
8079 }
8180
8281 _syncthing.URI = [defaults stringForKey: @" URI" ];
@@ -203,7 +202,7 @@ - (void)refreshDevices {
203202 self.toggleAllDevicesItem .title = @" Pause All Devices" ;
204203 [[self statusMonitor ] setCurrentStatus: SyncthingStatusIdle];
205204 }
206-
205+
207206 self.devicesPaused = allPaused;
208207}
209208
You can’t perform that action at this time.
0 commit comments