Skip to content

Commit 74507a2

Browse files
committed
Do not lock in executable path
Fixes #228
1 parent 74d3578 commit 74507a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

syncthing/STApplication.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)