Update build.sh

Signed-off-by: Tlntin <TlntinDeng01@Gmail.com>
This commit is contained in:
Tlntin
2023-01-11 23:30:32 +08:00
committed by GitHub
parent 2108930510
commit ee60abbb20

2
script/build.sh vendored
View File

@@ -75,7 +75,7 @@ do
if [[ "$OSTYPE" =~ ^darwin ]]; then if [[ "$OSTYPE" =~ ^darwin ]]; then
# update icon # update icon
# if icon exsits, change icon path # if icon exsits, change icon path
if [! -f "src-tauri/icons/${packaage_name}.icons" ]; then if [! -f "src-tauri/icons/${package_name}.icons" ]; then
# else, replace icon to default # else, replace icon to default
echo "warning" echo "warning"
echo "icon for MacOS not exsist, will use default icon to replace it" echo "icon for MacOS not exsist, will use default icon to replace it"