更新Linux批量打包脚本

This commit is contained in:
Tlntin
2022-11-24 22:11:23 +08:00
parent 864e4f0660
commit 6a0a6cd577

View File

@@ -112,11 +112,12 @@ done
echo "build all package success!" echo "build all package success!"
if [[ "$OSTYPE" =~ ^linux ]]; then if [[ "$OSTYPE" =~ ^linux ]]; then
$sd "\"productName\": \"com-tw93-weread\"" "\"productName\": \"WeRead\"" src-tauri/tauri.conf.json
echo "result file in output/linux" echo "result file in output/linux"
fi fi
if [[ "$OSTYPE" =~ ^darwin ]]; then if [[ "$OSTYPE" =~ ^darwin ]]; then
# replace again # replace again
$sd "\"productName\": \"WeRead\"" "\"productName\": \"weread\"" src-tauri/tauri.conf.json $sd "\"productName\": \"weread\"" "\"productName\": \"WeRead\"" src-tauri/tauri.conf.json
echo "result file in output/macos" echo "result file in output/macos"
fi fi