File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4646 },
4747 "post_install" : [
4848 " $calibre_path = (Join-Path -Path $dir -ChildPath 'Calibre') -replace '\\\\ ', '\\\\ '" ,
49- " Get-ChildItem -Path \" $bucketsdir\\ extras \\ scripts\\ $app\" -Filter '*.reg' -File | ForEach-Object {" ,
49+ " Get-ChildItem -Path \" $bucketsdir\\ $bucket \\ scripts\\ $app\" -Filter '*.reg' -File | ForEach-Object {" ,
5050 " $content = Get-Content -Path $_.FullName -Encoding utf8" ,
5151 " if ($_.Name -ne 'unregister-file-associations.reg' `" ,
5252 " -and $global) { $content = $content -replace 'HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE' }" ,
118118 "uninstaller" : {
119119 "script" : [
120120 " if ($cmd -eq 'uninstall') {" ,
121- " reg import \" $dir\\ unregister-url-handler.reg\" " ,
122- " reg import \" $dir\\ unregister-file-associations.reg\" " ,
121+ " reg import \" $dir\\ unregister-url-handler.reg\" *> $null " ,
122+ " reg import \" $dir\\ unregister-file-associations.reg\" *> $null " ,
123123 " }"
124124 ]
125125 },
You can’t perform that action at this time.
0 commit comments