Update build.sh

Signed-off-by: Tlntin <TlntinDeng01@Gmail.com>
This commit is contained in:
Tlntin
2023-03-08 00:52:30 +08:00
committed by GitHub
parent b8689a8355
commit 09cb6e31b4

2
script/build.sh vendored
View File

@@ -90,7 +90,7 @@ do
# clear identifier with regex
$sd "\"identifier\": \"(.*?)\"," "\"identifier\": \"\"," src-tauri/tauri.macos.conf.json
# replace identifier with not regex
$sd -s "\"identifier\": \"(.*?)\"," "\"identifier\": \"${identifier_prefix}.${package_name}\"," src-tauri/tauri.macos.conf.json
$sd -s "\"identifier\": \"\"," "\"identifier\": \"${identifier_prefix}.${package_name}\"," src-tauri/tauri.macos.conf.json
fi
# echo "update ico with 32x32 picture"