Skip to content

Commit 96ded73

Browse files
authored
calibre: Update post_install script
1 parent 9f66a87 commit 96ded73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bucket/calibre.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
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' }",

0 commit comments

Comments
 (0)