xenia: fix persistence (#267)

Add `content` and `cache` to persist dir setup script.
master
BlackPowerade 2021-06-20 03:57:11 -06:00 committed by GitHub
parent c5e008cb3f
commit 9471255c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\portable.txt\" -ItemType File | Out-Null",
" New-item \"$persist_dir\\xenia.config.toml\" -ItemType File | Out-Null",
" New-item \"$persist_dir\\content\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\cache\" -ItemType Directory | Out-Null",
" if (Test-Path \"$env:USERPROFILE\\Documents\\Xenia\") {",
" Write-host \"Migrating AppData...\" -ForegroundColor yellow",
" Copy-Item -Path \"$env:USERPROFILE\\Documents\\Xenia\\*\" -Destination \"$persist_dir\" -Recurse",