diff --git a/deploy/nginx-sb-front.conf b/deploy/nginx-sb-front.conf index 7329130..0f3cd01 100644 --- a/deploy/nginx-sb-front.conf +++ b/deploy/nginx-sb-front.conf @@ -24,6 +24,15 @@ server { add_header Cache-Control "public, immutable"; } + # 설치파일 다운로드 — 배포(dist 교체)에 지워지지 않도록 root 밖의 영속 디렉터리에서 서빙. + # 서버에 /var/www/sb-downloads/ 를 만들고 설치파일(SlimBudget-Setup.exe)을 올려두세요. + # 예) sudo mkdir -p /var/www/sb-downloads && sudo cp SlimBudget-Setup.exe /var/www/sb-downloads/ + location /download/ { + alias /var/www/sb-downloads/; + add_header Content-Disposition "attachment"; + autoindex off; + } + # API 프록시 → 백엔드(8080) location /api/ { proxy_pass http://127.0.0.1:8080; diff --git a/package.json b/package.json index ca7e151..a2791bf 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ ], "win": { "target": "nsis", - "icon": "assets/icon-only.png" + "icon": "assets/icon-only.png", + "artifactName": "SlimBudget-Setup.${ext}" }, "nsis": { "oneClick": false, diff --git a/src/components/WebOnlyNotice.vue b/src/components/WebOnlyNotice.vue index 26cde7f..8fb93b6 100644 --- a/src/components/WebOnlyNotice.vue +++ b/src/components/WebOnlyNotice.vue @@ -1,10 +1,9 @@