fix: windows service mode

This commit is contained in:
GyDi committed 2022-11-22 22:01:34 +08:00
1 parent 1328299fda
commit dec503da81
4 files changed
+18 -10

No files matched your search

@@ -48,7 +48,7 @@ export const ServiceViewer = forwardRef<DialogRef, Props>((props, ref) => {
const onUninstall = useLockFn(async () => {
try {
if (state === "active" && enable) {
if (enable) {
await patchVergeConfig({ enable_service_mode: false });
}