Skip to content

Commit 89d821a

Browse files
committed
use bucket variable
1 parent 4ddc0a4 commit 89d821a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bucket/losslesscut.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"post_install": [
2424
"$losslesscutPath = \"$dir\".Replace('\\', '\\\\')",
2525
"'install-associations', 'uninstall-associations' | ForEach-Object {",
26-
" if (Test-Path \"$bucketsdir\\extras\\scripts\\$app\\$_.reg\") {",
27-
" $content = (Get-Content \"$bucketsdir\\extras\\scripts\\$app\\$_.reg\").Replace('$losslesscut', $losslesscutPath)",
26+
" if (Test-Path \"$bucketsdir\\$bucket\\scripts\\$app\\$_.reg\") {",
27+
" $content = (Get-Content \"$bucketsdir\\$bucket\\scripts\\$app\\$_.reg\").Replace('$losslesscut', $losslesscutPath)",
2828
" if ($global) { $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE') }",
2929
" $content | Set-Content -Path \"$dir\\$_.reg\" -Encoding Ascii",
3030
" }",

0 commit comments

Comments
 (0)