diff --git a/build/gdrive_upload_full.ps1 b/build/gdrive_upload_full.ps1 index bb6d0b7..c049ead 100644 --- a/build/gdrive_upload_full.ps1 +++ b/build/gdrive_upload_full.ps1 @@ -1,8 +1,11 @@ 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'..." +Write-Output "[INFO] Looking for latest .zip matching 'AzaionSuite.Full.*.zip' in folder: $(Get-Location)..." $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 db228e9..7ab9a43 100644 --- a/build/gdrive_upload_iterative.ps1 +++ b/build/gdrive_upload_iterative.ps1 @@ -1,8 +1,11 @@ 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'..." +Write-Output "[INFO] Looking for latest .exe matching 'AzaionSuite.Iterative.*.exe' in folder: $(Get-Location)..." $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 76cc23d..094dd74 100644 --- a/build/zip_full.ps1 +++ b/build/zip_full.ps1 @@ -1,4 +1,3 @@ -# zip_full.ps1 $host.UI.RawUI.WindowTitle = "Full Installer Zipper" Write-Host "`n===== [AZAION SUITE FULL PACKAGER] =====" -ForegroundColor Cyan @@ -20,6 +19,7 @@ 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 ..