From 2ceba6732b1a3ab509c58f40cc6d4dee2c3045ac Mon Sep 17 00:00:00 2001 From: Tlntin <371043382@qq.com> Date: Mon, 19 Dec 2022 12:44:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Durl=E7=94=B1=E4=BA=8E?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E9=97=AE=E5=8F=B7=E5=AF=BC=E8=87=B4=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/build.bat | 2 +- script/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/build.bat b/script/build.bat index 773ee9f..395cc01 100644 --- a/script/build.bat +++ b/script/build.bat @@ -50,7 +50,7 @@ for /f "skip=1 tokens=1-4 delims=," %%i in (app.csv) do ( ::echo name is !name! !name_zh! !url! :: replace url - .\script\sd.exe !old_url! !url! src-tauri\tauri.conf.json + .\script\sd.exe -s !old_url! !url! src-tauri\tauri.conf.json ::replace pacakge name .\script\sd.exe !old_title! !title! src-tauri\tauri.conf.json .\script\sd.exe !old_name! !name! src-tauri\tauri.windows.conf.json diff --git a/script/build.sh b/script/build.sh index 3f0f77f..7d370bc 100755 --- a/script/build.sh +++ b/script/build.sh @@ -67,7 +67,7 @@ do package_zh_name=${arr[2]} url=${arr[3]} # replace package info - $sd "${old_url}" "${url}" src-tauri/tauri.conf.json + $sd -s "${old_url}" "${url}" src-tauri/tauri.conf.json $sd "${old_name}" "${package_name}" src-tauri/tauri.conf.json # echo "update ico with 32x32 pictue" # $sd "${old_name}" "${package_name}" src-tauri/src/main.rs