From cffd3887dd53d92f392a461083f12fee3150b02a Mon Sep 17 00:00:00 2001 From: Jonson Petard <41122242+greenhat616@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:25:24 +0800 Subject: [PATCH] fix(bundler): kill processes while updating in windows chore: optimize wix cleanup template (#397) fix: wix template file --- backend/tauri/overrides/nightly.conf.json | 2 +- backend/tauri/tauri.conf.json | 2 +- backend/tauri/templates/cleanup.wxs | 22 ++++++++++++++-------- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/backend/tauri/overrides/nightly.conf.json b/backend/tauri/overrides/nightly.conf.json index b67391f8ee..a70483807e 100644 --- a/backend/tauri/overrides/nightly.conf.json +++ b/backend/tauri/overrides/nightly.conf.json @@ -7,7 +7,7 @@ "updater": { "endpoints": [ "https://mirror.ghproxy.com/https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update-nightly-proxy.json", - "https://ghproxy.com/https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update-nightly-proxy.json", + "https://gh-proxy.com/https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update-nightly-proxy.json", "https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update-nightly.json" ] } diff --git a/backend/tauri/tauri.conf.json b/backend/tauri/tauri.conf.json index 35bec68cb0..5d172f2e3f 100644 --- a/backend/tauri/tauri.conf.json +++ b/backend/tauri/tauri.conf.json @@ -74,7 +74,7 @@ "active": true, "endpoints": [ "https://mirror.ghproxy.com/https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update-proxy.json", - "https://ghproxy.com/https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update-proxy.json", + "https://gh-proxy.com/https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update-proxy.json", "https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update.json" ], "dialog": false, diff --git a/backend/tauri/templates/cleanup.wxs b/backend/tauri/templates/cleanup.wxs index eaf890ac6b..1472563e63 100644 --- a/backend/tauri/templates/cleanup.wxs +++ b/backend/tauri/templates/cleanup.wxs @@ -1,13 +1,19 @@ - + - - - - - - - + + + + + + + + + + + +