更新Linux批量打包脚本

This commit is contained in:
Tlntin
2022-11-24 20:14:07 +08:00
parent c3be3c1d71
commit f0a69a905e

View File

@@ -44,7 +44,7 @@ if [[ "$OSTYPE" =~ ^linux ]]; then
echo "rename package name"
export desktop_file="src-tauri/assets/${package_prefix}.weread.desktop"
# sed -i "s/\"productName\": \"weread\"/\"productName\": \"${package_prefix}-weread\"/g" src-tauri/tauri.conf.json
$sd "\"productName\": \"weread\"" "\"productName\": \"${package_prefix}-weread\"" src-tauri/tauri.conf.json
$sd "\"productName\": \"WeRead\"" "\"productName\": \"${package_prefix}-weread\"" src-tauri/tauri.conf.json
fi
if [[ "$OSTYPE" =~ ^darwin ]]; then