| 1234567891011 |
- $ErrorActionPreference = "Stop"
- Set-Location (Join-Path $PSScriptRoot "..")
- # Requires Docker Desktop (Linux engine) running.
- docker version --format "{{.Server.Version}}" | Out-Null
- if ($LASTEXITCODE -ne 0) { Write-Error "Docker daemon not reachable. Start Docker Desktop first."; exit 1 }
- New-Item -ItemType Directory -Force -Path dist\linux | Out-Null
- docker build -f Dockerfile.appimage --target export --output type=local,dest=dist/linux .
- if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- Write-Host "AppImage written to dist\linux\SculptEngine-x86_64.AppImage"
|