Merge branch 'master' of github-main.com:Tlntin/Pake
This commit is contained in:
1
script/build.ps1
vendored
1
script/build.ps1
vendored
@@ -48,7 +48,6 @@ ForEach ($line in (Get-Content -Path .\app.csv | Select-Object -Skip 1)) {
|
|||||||
# replace package name
|
# replace package name
|
||||||
# clear package_name with regex
|
# clear package_name with regex
|
||||||
.\script\sd.exe "`"productName`":\s`"(.*?)`"" '"productName": ""' $common_conf_path
|
.\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
|
# replace package_name with no regex
|
||||||
.\script\sd.exe -s '"productName": ""' "`"productName`": `"$title`"" $common_conf_path
|
.\script\sd.exe -s '"productName": ""' "`"productName`": `"$title`"" $common_conf_path
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user