AI media harness for planning, generating, and editing locally
TypeScript
Enable updates in release ZIPs
Bitticb58dfc34ea4
diff --git a/docs/updater.md b/docs/updater.mdindex b28b0b4..761e282 100644--- a/docs/updater.md+++ b/docs/updater.md@@ -6,9 +6,10 @@ is explicit and restarts Slopus. Close the project and finish or cancel queuedwork first; unsaved project changes or videos also block installation. Failedchecks and downloads can be retried from Settings.-Browser previews, debug builds, and portable folders containing the-`slopus-portable` marker do not check for updates. Keep that marker when moving a-portable installation. Update portable copies by downloading a new portable ZIP.+Browser previews, debug builds, and folders containing the `slopus-portable`+marker do not check for updates. Both packaging scripts add this marker only to+the uncompressed folder for local testing, after creating the ZIP. The distributed+ZIP omits the marker, so extracted release builds can check for updates.## Signing keydiff --git a/package.cmd b/package.cmdindex 16e9893..4f931e3 100644--- a/package.cmd+++ b/package.cmd@@ -96,7 +96,6 @@ if exist "%OUTPUT_DIR%" ()mkdir "%OUTPUT_DIR%" || goto :failcopy /Y "%RELEASE_EXE%" "%OUTPUT_DIR%\Slopus.exe" >nul || goto :fail-> "%OUTPUT_DIR%\slopus-portable" echo Portable distribution - update by downloading a new portable ZIP.rem Match the installer's resource layout: one DLL beside Slopus.exe.copy /Y "%SLOPFAB_DIR%\slopfab.dll" "%OUTPUT_DIR%\slopfab.dll" >nul || goto :fail@@ -107,8 +106,11 @@ echo Folder: %OUTPUT_STEM%-portable\echo.echo [5/5] Creating the portable archive...-rem Zips the folder that stays behind next to it, under the same name.+rem Archive without the marker so distributed copies can check for updates.powershell.exe -NoProfile -NonInteractive -Command "$ErrorActionPreference='Stop'; Compress-Archive -Path (Join-Path $env:OUTPUT_DIR '*') -DestinationPath $env:OUTPUT_ZIP -CompressionLevel Optimal -Force" || goto :fail+rem Disable updates only in the unpacked folder used for local testing.+> "%OUTPUT_DIR%\slopus-portable" echo Local test build - automatic updates disabled.+if errorlevel 1 goto :failecho.echo Package complete.diff --git a/release.cmd b/release.cmdindex 998c2ef..8f5a198 100644--- a/release.cmd+++ b/release.cmd@@ -134,7 +134,6 @@ if exist "%OUTPUT_DIR%" ()mkdir "%OUTPUT_DIR%" || goto :failcopy /Y "%RELEASE_EXE%" "%OUTPUT_DIR%\Slopus.exe" >nul || goto :fail-> "%OUTPUT_DIR%\slopus-portable" echo Portable distribution - update by downloading a new portable ZIP.rem Match the installer's resource layout: one DLL beside Slopus.exe.copy /Y "%SLOPFAB_DIR%\slopfab.dll" "%OUTPUT_DIR%\slopfab.dll" >nul || goto :fail@@ -145,8 +144,11 @@ echo Folder: %OUTPUT_STEM%-portable\echo.echo [5/5] Creating the portable archive...-rem Zips the folder that stays behind next to it, under the same name.+rem Archive without the marker so distributed copies can check for updates.powershell.exe -NoProfile -NonInteractive -Command "$ErrorActionPreference='Stop'; Compress-Archive -Path (Join-Path $env:OUTPUT_DIR '*') -DestinationPath $env:OUTPUT_ZIP -CompressionLevel Optimal -Force" || goto :fail+rem Disable updates only in the unpacked folder used for local testing.+> "%OUTPUT_DIR%\slopus-portable" echo Local test build - automatic updates disabled.+if errorlevel 1 goto :failecho.echo Package complete.