From 22b7b6753697a9bf90b164e66cadc2a9d5425d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=90=8B=E5=85=94?= Date: Sat, 1 Jul 2023 20:36:53 +0800 Subject: [PATCH] fix: arguments of reg commands --- build/installer.nsh | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/installer.nsh b/build/installer.nsh index 7a88929..0a8e615 100644 --- a/build/installer.nsh +++ b/build/installer.nsh @@ -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 diff --git a/package.json b/package.json index 4d2ec52..9b86071 100644 --- a/package.json +++ b/package.json @@ -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",