Skip to content

Commit

Permalink
fix: arguments of reg commands
Browse files Browse the repository at this point in the history
  • Loading branch information
huibizhang committed Jul 1, 2023
1 parent 9f43069 commit 22b7b67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
!macro customInstall
WriteRegExpandStr HKCU "Software\Classes\Directory\shell\Photolisting" "" "以 Photolisting 中開啟"
WriteRegExpandStr HKCU "Software\Classes\Directory\shell\Photolisting" "Icon" "$INSTDIR\photolisting.exe"
WriteRegExpandStr HKCU "Software\Classes\Directory\shell\Photolisting\command" "" '"$INSTDIR\photolisting.exe" "%1"'
WriteRegExpandStr HKCU "Software\Classes\Directory\shell\Photolisting\command" "" '"$INSTDIR\photolisting.exe" "%V"'

WriteRegExpandStr HKCU "Software\Classes\Directory\Background\shell\Photolisting" "" "以 Photolisting 中開啟"
WriteRegExpandStr HKCU "Software\Classes\Directory\Background\shell\Photolisting" "Icon" "$INSTDIR\photolisting.exe"
WriteRegExpandStr HKCU "Software\Classes\Directory\Background\shell\Photolisting\command" "" '"$INSTDIR\photolisting.exe" "%1"'
WriteRegExpandStr HKCU "Software\Classes\Directory\Background\shell\Photolisting\command" "" '"$INSTDIR\photolisting.exe" "%V"'

!macroend

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "photolisting",
"version": "0.0.5",
"version": "0.0.6",
"main": "main.js",
"scripts": {
"dev": "cross-env NODE_ENV=dev vite",
Expand Down

0 comments on commit 22b7b67

Please sign in to comment.