Skip to content

Commit 85ee29a

Browse files
committed
Update OsSpecific.kt
1 parent 8419c53 commit 85ee29a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FanControl/app/src/jvmMain/kotlin/utils/OsSpecific.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private class Windows : IOsSpecific {
6666
),
6767
onSuccess = {
6868
settings.launchAtStartUp.value = launchAtStartUp
69-
SettingsHelper.writeSettings()
69+
SettingsHelper.writeSettings(true)
7070
}
7171
)
7272
}
@@ -101,7 +101,7 @@ private class Linux : IOsSpecific {
101101
params = mutableListOf("bash", getScript("change_start_mode.sh"), getStartMode(launchAtStartUp)),
102102
onSuccess = {
103103
settings.launchAtStartUp.value = launchAtStartUp
104-
SettingsHelper.writeSettings()
104+
SettingsHelper.writeSettings(true)
105105
}
106106
)
107107
}

0 commit comments

Comments
 (0)