Merge branch 'master' of github-main.com:Tlntin/Pake

This commit is contained in:
Tlntin
2023-03-08 12:14:17 +08:00

1
script/build.ps1 vendored
View File

@@ -48,7 +48,6 @@ ForEach ($line in (Get-Content -Path .\app.csv | Select-Object -Skip 1)) {
# replace package name
# clear package_name with regex
.\script\sd.exe "`"productName`":\s`"(.*?)`"" '"productName": ""' $common_conf_path
# (Get-Content -Path $common_conf_path -Raw) -replace '"productName":\s*"[^"]*"', '"productName": ""' | Set-Content -Path $common_conf_path
# replace package_name with no regex
.\script\sd.exe -s '"productName": ""' "`"productName`": `"$title`"" $common_conf_path