4
script/build.sh
vendored
4
script/build.sh
vendored
@@ -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/${package_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"
|
||||||
@@ -92,7 +92,7 @@ do
|
|||||||
if [[ "$OSTYPE" =~ ^linux ]]; then
|
if [[ "$OSTYPE" =~ ^linux ]]; then
|
||||||
# update icon
|
# update icon
|
||||||
# if icon exsits, change icon path
|
# if icon exsits, change icon path
|
||||||
if [! -f "src-tauri/png/${package_name}_512.png" ]; then
|
if [ ! -f "src-tauri/png/${package_name}_512.png" ]; then
|
||||||
# else, replace icon to default
|
# else, replace icon to default
|
||||||
echo "warning"
|
echo "warning"
|
||||||
echo "icon for linux not exsist, will use default icon to replace it"
|
echo "icon for linux not exsist, will use default icon to replace it"
|
||||||
|
|||||||
Reference in New Issue
Block a user