From 8a58e1107c040ccdabef39f68ba4607396bf6e8c Mon Sep 17 00:00:00 2001 From: otomad Date: Sat, 1 Apr 2023 17:42:07 +0800 Subject: [PATCH] Fix script path problem --- pack.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pack.ps1 b/pack.ps1 index 083ef61e..c4865169 100644 --- a/pack.ps1 +++ b/pack.ps1 @@ -38,7 +38,7 @@ function Update-ToReplaceTextFileOnce { # Set-Content -Path $file -Value $content -Encoding UTF8 $utf8NoBomEncoding = New-Object Text.UTF8Encoding $False - [IO.File]::WriteAllLines($file, $content, $utf8NoBomEncoding) + [IO.File]::WriteAllLines((Join-Path $pwd $file), $content, $utf8NoBomEncoding) } function Update-UndefinedSymbols { @@ -76,4 +76,4 @@ for ($i = 0; $i -lt $infos.Count; $i++) { Rename-Item -Path "release_package_template.zip" -NewName ([String]$i + "_otomad_helper_v" + $version + "_vegas" + [string]$info.VegasVersions + ".zip") Remove-Item "Otomad Helper.cs" } -Remove-Item "..\Otomad Helper.cs" +# Remove-Item "..\Otomad Helper.cs"