feat: add service uninstall functionality and improve service operation flow
This commit is contained in:
@@ -131,6 +131,14 @@ export async function changeClashCore(clashCore: string) {
|
||||
return invoke<string | null>("change_clash_core", { clashCore });
|
||||
}
|
||||
|
||||
export async function startCore() {
|
||||
return invoke<void>("start_core");
|
||||
}
|
||||
|
||||
export async function stopCore() {
|
||||
return invoke<void>("stop_core");
|
||||
}
|
||||
|
||||
export async function restartCore() {
|
||||
return invoke<void>("restart_core");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user