From 080d98389dab8f35b9612f533ba1b583a8a854ad Mon Sep 17 00:00:00 2001 From: dzaitsev Date: Wed, 21 May 2025 20:08:44 +0300 Subject: [PATCH] Revert "fixed workdir path" This reverts commit d35b97fdece98bb0524a5d2d6761d9fbc9f8f354. --- build/gdrive_upload_full.ps1 | 5 +---- build/gdrive_upload_iterative.ps1 | 5 +---- build/zip_full.ps1 | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/build/gdrive_upload_full.ps1 b/build/gdrive_upload_full.ps1 index c049ead..bb6d0b7 100644 --- a/build/gdrive_upload_full.ps1 +++ b/build/gdrive_upload_full.ps1 @@ -1,11 +1,8 @@ Write-Output "`n=== Starting Upload: Full Installer ZIP ===" -# Change to parent directory (one level up) -Set-Location .. - $uploadFolder = "AzaionSuiteBuilds" 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" | Sort-Object LastWriteTime -Descending | diff --git a/build/gdrive_upload_iterative.ps1 b/build/gdrive_upload_iterative.ps1 index 7ab9a43..db228e9 100644 --- a/build/gdrive_upload_iterative.ps1 +++ b/build/gdrive_upload_iterative.ps1 @@ -1,11 +1,8 @@ Write-Output "`n=== Starting Upload: Iterative Installer ===" -# Change to parent directory (one level up) -Set-Location .. - $uploadFolder = "AzaionSuiteBuilds" 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" | Sort-Object LastWriteTime -Descending | diff --git a/build/zip_full.ps1 b/build/zip_full.ps1 index 094dd74..76cc23d 100644 --- a/build/zip_full.ps1 +++ b/build/zip_full.ps1 @@ -1,3 +1,4 @@ +# zip_full.ps1 $host.UI.RawUI.WindowTitle = "Full Installer Zipper" 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 -# Change working directory to the script location, then one level up Set-Location -Path (Split-Path -Parent $MyInvocation.MyCommand.Path) Set-Location ..