feat: system proxy guard

This commit is contained in:
GyDi
2022-02-20 18:53:21 +08:00
parent 5b5a299b55
commit bf15580081
4 changed files with 110 additions and 32 deletions

View File

@@ -260,7 +260,7 @@ pub fn get_verge_config(verge_state: State<'_, VergeState>) -> Result<VergeConfi
/// patch the verge config
/// this command only save the config and not responsible for other things
#[tauri::command]
pub async fn patch_verge_config(
pub fn patch_verge_config(
payload: VergeConfig,
verge_state: State<'_, VergeState>,
) -> Result<(), String> {