Skip to content

Commit 8419c53

Browse files
committed
fix error code
1 parent 88f04bc commit 8419c53

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

FanControl/app/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ compose.desktop {
103103

104104
linux {
105105
iconFile.set(project.file("drawable/app_icon.png"))
106+
menuGroup = "Utility"
107+
shortcut = true
108+
appCategory = "Utility"
106109
}
107110
}
108111
}

FanControl/app/include/linux/scripts/service/Manager.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ systemdServiceFile="$systemdDir$serviceFileName"
1616
exeCopyDir="/usr/local/bin/$serviceName"
1717

1818
# 1 is already taken by ExecutionPolicy exception (can't run script on the machine (on Windows of course)
19-
defaultErrorCode=2
20-
needAdminErrorCode=3
21-
notInstalledErrorCode=4
22-
needRuntimeErrorCode=5
19+
defaultErrorCode=101
20+
needAdminErrorCode=102
21+
notInstalledErrorCode=103
22+
needRuntimeErrorCode=104
2323

2424
replaceInServiceFile() {
2525
local name="$1"

0 commit comments

Comments
 (0)