Revert "fixed workdir path"

This reverts commit d35b97fdec.
This commit is contained in:
dzaitsev
2025-05-21 20:08:44 +03:00
parent d35b97fdec
commit 080d98389d
3 changed files with 3 additions and 9 deletions
+1 -4
View File
@@ -1,11 +1,8 @@
Write-Output "`n=== Starting Upload: Full Installer ZIP ===" Write-Output "`n=== Starting Upload: Full Installer ZIP ==="
# Change to parent directory (one level up)
Set-Location ..
$uploadFolder = "AzaionSuiteBuilds" $uploadFolder = "AzaionSuiteBuilds"
Write-Output "[INFO] Target Google Drive folder: $uploadFolder" Write-Output "[INFO] Target Google Drive folder: $uploadFolder"
Write-Output "[INFO] Looking for latest .zip matching 'AzaionSuite.Full.*.zip' in folder: $(Get-Location)..." Write-Output "[INFO] Looking for latest .zip matching 'AzaionSuite.Full.*.zip'..."
$fullZip = Get-ChildItem -Path . -Filter "AzaionSuite.Full.*.zip" | $fullZip = Get-ChildItem -Path . -Filter "AzaionSuite.Full.*.zip" |
Sort-Object LastWriteTime -Descending | Sort-Object LastWriteTime -Descending |
+1 -4
View File
@@ -1,11 +1,8 @@
Write-Output "`n=== Starting Upload: Iterative Installer ===" Write-Output "`n=== Starting Upload: Iterative Installer ==="
# Change to parent directory (one level up)
Set-Location ..
$uploadFolder = "AzaionSuiteBuilds" $uploadFolder = "AzaionSuiteBuilds"
Write-Output "[INFO] Target Google Drive folder: $uploadFolder" Write-Output "[INFO] Target Google Drive folder: $uploadFolder"
Write-Output "[INFO] Looking for latest .exe matching 'AzaionSuite.Iterative.*.exe' in folder: $(Get-Location)..." Write-Output "[INFO] Looking for latest .exe matching 'AzaionSuite.Iterative.*.exe'..."
$iterativeFile = Get-ChildItem -Path . -Filter "AzaionSuite.Iterative.*.exe" | $iterativeFile = Get-ChildItem -Path . -Filter "AzaionSuite.Iterative.*.exe" |
Sort-Object LastWriteTime -Descending | Sort-Object LastWriteTime -Descending |
+1 -1
View File
@@ -1,3 +1,4 @@
# zip_full.ps1
$host.UI.RawUI.WindowTitle = "Full Installer Zipper" $host.UI.RawUI.WindowTitle = "Full Installer Zipper"
Write-Host "`n===== [AZAION SUITE FULL PACKAGER] =====" -ForegroundColor Cyan Write-Host "`n===== [AZAION SUITE FULL PACKAGER] =====" -ForegroundColor Cyan
@@ -19,7 +20,6 @@ function Show-ProgressBar {
Write-Host "[INFO] Preparing to package Full installer..." -ForegroundColor Yellow Write-Host "[INFO] Preparing to package Full installer..." -ForegroundColor Yellow
# Change working directory to the script location, then one level up
Set-Location -Path (Split-Path -Parent $MyInvocation.MyCommand.Path) Set-Location -Path (Split-Path -Parent $MyInvocation.MyCommand.Path)
Set-Location .. Set-Location ..