mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2025-10-30 06:07:56 +00:00
Compare commits
2 Commits
b592b38abd
...
4c55e7aebd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c55e7aebd | ||
|
|
db8d554f80 |
@@ -2,10 +2,12 @@
|
|||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
- **scoop-uninstall**: Allow access to `$bucket` in uninstall scripts ([#6380](https://github.com/ScoopInstaller/Scoop/issues/6380))
|
||||||
- **install:** Add separator at the end of notes, highlight suggestions ([#6418](https://github.com/ScoopInstaller/Scoop/issues/6418))
|
- **install:** Add separator at the end of notes, highlight suggestions ([#6418](https://github.com/ScoopInstaller/Scoop/issues/6418))
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
|
- **scoop-update**: Force sync tags w/ remote branch while scoop update ([#6439](https://github.com/ScoopInstaller/Scoop/issues/6439))
|
||||||
- **scoop-download:** Fix function `nightly_version` not defined error ([#6386](https://github.com/ScoopInstaller/Scoop/issues/6386))
|
- **scoop-download:** Fix function `nightly_version` not defined error ([#6386](https://github.com/ScoopInstaller/Scoop/issues/6386))
|
||||||
- **autoupdate:** Use origin URL to handle URLs with fragment in GitHub mode ([#6455](https://github.com/ScoopInstaller/Scoop/issues/6455))
|
- **autoupdate:** Use origin URL to handle URLs with fragment in GitHub mode ([#6455](https://github.com/ScoopInstaller/Scoop/issues/6455))
|
||||||
- **buckets|scoop-info:** Switch git log date format to ISO 8601 to avoid locale issues ([#6446](https://github.com/ScoopInstaller/Scoop/issues/6446))
|
- **buckets|scoop-info:** Switch git log date format to ISO 8601 to avoid locale issues ([#6446](https://github.com/ScoopInstaller/Scoop/issues/6446))
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ if (!$apps) { exit 0 }
|
|||||||
$manifest = installed_manifest $app $version $global
|
$manifest = installed_manifest $app $version $global
|
||||||
$install = install_info $app $version $global
|
$install = install_info $app $version $global
|
||||||
$architecture = $install.architecture
|
$architecture = $install.architecture
|
||||||
|
$bucket = $install.bucket
|
||||||
|
|
||||||
Invoke-HookScript -HookType 'pre_uninstall' -Manifest $manifest -Arch $architecture
|
Invoke-HookScript -HookType 'pre_uninstall' -Manifest $manifest -Arch $architecture
|
||||||
|
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ function Sync-Scoop {
|
|||||||
# reset branch HEAD
|
# reset branch HEAD
|
||||||
Invoke-Git -Path $currentdir -ArgumentList @('reset', '--hard', "origin/$configBranch", '-q')
|
Invoke-Git -Path $currentdir -ArgumentList @('reset', '--hard', "origin/$configBranch", '-q')
|
||||||
} else {
|
} else {
|
||||||
Invoke-Git -Path $currentdir -ArgumentList @('pull', '-q')
|
Invoke-Git -Path $currentdir -ArgumentList @('pull', '--tags', '--force', '-q')
|
||||||
}
|
}
|
||||||
|
|
||||||
$res = $lastexitcode
|
$res = $lastexitcode
|
||||||
|
|||||||
Reference in New Issue
Block a user