Skip to content

Commit

Permalink
sourcegit: Update post_install and persist
Browse files Browse the repository at this point in the history
  • Loading branch information
Vixb1122 authored Jan 13, 2025
1 parent ab2d91f commit 6e69e9d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bucket/sourcegit.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,21 @@
}
},
"extract_dir": "SourceGit",
"post_install": [
"if (Test-Path $env:AppData\\SourceGit) {",
" Write-Host \"`r`nMove config from non-portable version...\"",
" Copy-Item -Path $env:AppData\\SourceGit\\* -Destination \"$persist_dir\\data\" -Force -Recurse | Out-Null",
" Remove-Item $env:AppData\\SourceGit -Force -Recurse",
"}"
],
"bin": "SourceGit.exe",
"shortcuts": [
[
"SourceGit.exe",
"SourceGit"
]
],
"persist": "data",
"checkver": "github",
"autoupdate": {
"architecture": {
Expand Down

0 comments on commit 6e69e9d

Please sign in to comment.