fix(app): support portable data directory

This commit is contained in:
t8y2
2026-05-17 12:44:34 +08:00
parent 3337826b89
commit 7c226ce684
3 changed files with 62 additions and 1 deletions
+1
View File
@@ -157,6 +157,7 @@ jobs:
Copy-Item $exePath (Join-Path $portableDir "DBX.exe") -Force
Copy-Item "LICENSE" (Join-Path $portableDir "LICENSE") -Force
Copy-Item "README.md" (Join-Path $portableDir "README.md") -Force
Set-Content -Path (Join-Path $portableDir "portable.dbx") -Value "" -NoNewline
Compress-Archive -Path (Join-Path $portableDir "*") -DestinationPath $zipName -Force
gh release upload "${env:GITHUB_REF_NAME}" $zipName --repo "${env:GITHUB_REPOSITORY}" --clobber