Skip to content

Commit 96fef58

Browse files
niheavenr15ch13
authored andcommitted
fix(install): Allow $version to be used in uninstaller scripts (#3592)
1 parent 7879d27 commit 96fef58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/install.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@ function install_prog($fname, $dir, $installer, $global) {
744744
function run_uninstaller($manifest, $architecture, $dir) {
745745
$msi = msi $manifest $architecture
746746
$uninstaller = uninstaller $manifest $architecture
747+
$version = $manifest.version
747748
if($uninstaller.script) {
748749
write-output "Running uninstaller script..."
749750
Invoke-Expression (@($uninstaller.script) -join "`r`n")

0 commit comments

Comments
 (0)