From 6aa3590c5a9526de03c62fefc5c20ea572e77f0d Mon Sep 17 00:00:00 2001 From: ByungCheol Date: Sat, 27 Jun 2026 20:47:46 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20PC=20=EC=84=A4=EC=B9=98=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=EB=AA=85=20DonDwaeji-Setup.exe=20+=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=20=EC=84=A4=EC=B9=98=EA=B2=BD=EB=A1=9C=20DonDwaeji?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - electron-builder artifactName: SlimBudget-Setup → DonDwaeji-Setup - build/installer.nsh: 기본 설치경로를 $PROGRAMFILES\DonDwaeji 로 고정 (productName 한글이라 name='sb_pt' 로 폴백되던 문제 회피) - WebOnlyNotice 다운로드 URL 도 DonDwaeji-Setup.exe 로 변경 Co-Authored-By: Claude Opus 4.8 --- build/installer.nsh | 11 +++++++++++ package.json | 5 +++-- src/components/WebOnlyNotice.vue | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 build/installer.nsh diff --git a/build/installer.nsh b/build/installer.nsh new file mode 100644 index 0000000..5e6e6bd --- /dev/null +++ b/build/installer.nsh @@ -0,0 +1,11 @@ +; 기본 설치 경로 지정. +; productName 이 한글이라 electron-builder 가 기본 경로를 package.json name(sb_pt)으로 폴백하는 문제 회피. +; → $PROGRAMFILES\DonDwaeji 로 고정 (사용자는 설치 시 변경 가능). +!macro preInit + SetRegView 64 + WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$PROGRAMFILES64\DonDwaeji" + WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$PROGRAMFILES64\DonDwaeji" + SetRegView 32 + WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$PROGRAMFILES\DonDwaeji" + WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$PROGRAMFILES\DonDwaeji" +!macroend diff --git a/package.json b/package.json index 5d1d89a..1bb4dbc 100644 --- a/package.json +++ b/package.json @@ -31,12 +31,13 @@ "win": { "target": "nsis", "icon": "build/icon.ico", - "artifactName": "SlimBudget-Setup.${ext}" + "artifactName": "DonDwaeji-Setup.${ext}" }, "nsis": { "oneClick": false, "perMachine": false, - "allowToChangeInstallationDirectory": true + "allowToChangeInstallationDirectory": true, + "include": "build/installer.nsh" } }, "dependencies": { diff --git a/src/components/WebOnlyNotice.vue b/src/components/WebOnlyNotice.vue index 7969a67..c45606f 100644 --- a/src/components/WebOnlyNotice.vue +++ b/src/components/WebOnlyNotice.vue @@ -1,7 +1,7 @@