Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(update): support $persist_dir in uninstaller.script #3692

Merged
merged 1 commit into from
Oct 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(update): support $persist_dir in uninstaller.script
linsui committed Oct 17, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 28e75fa702a831bf53ab468120098539b268ddd5
1 change: 1 addition & 0 deletions libexec/scoop-update.ps1
Original file line number Diff line number Diff line change
@@ -236,6 +236,7 @@ function update($app, $global, $quiet = $false, $independent, $suggested, $use_c
# endregion Workaround

$dir = versiondir $app $old_version $global
$persist_dir = persistdir $app $global

#region Workaround for #2952
$processdir = appdir $app $global | Resolve-Path | Select-Object -ExpandProperty Path