更新rust代码中的名称为conf中变量

This commit is contained in:
Tlntin
2022-12-07 09:42:31 +08:00
parent befb5a49b5
commit f82ee038e5
5 changed files with 1972 additions and 1968 deletions

4
script/build.sh vendored
View File

@@ -69,8 +69,8 @@ do
# replace package info
$sd "${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
# echo "update ico with 32x32 pictue"
# $sd "${old_name}" "${package_name}" src-tauri/src/main.rs
# for apple, need replace title
if [[ "$OSTYPE" =~ ^darwin ]]; then