feat: 데스크톱 클라이언트가 라이브 사이트 직접 로드 — 프론트 변경 자동 반영(재설치 불필요)
CI / build (push) Failing after 14m5s

- electron/main.cjs: dist 번들 → https://app.sblog.kr 직접 로드
  · 같은 출처라 webSecurity:false(CORS 우회) 제거, 오프라인 시 '다시 시도' 안내 화면
  · 앱 외 도메인 링크만 기본 브라우저로
- package.json: 설치파일에 dist 미포함·build:electron 제거(원격 로드라 불필요)
- .env.electron 삭제

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-07 16:39:28 +09:00
parent c128948d39
commit 9de26cf417
3 changed files with 31 additions and 16 deletions
+2 -4
View File
@@ -8,9 +8,8 @@
"dev": "vite",
"build": "vite build",
"build:app": "vite build --mode capacitor",
"build:electron": "vite build --mode electron",
"electron:dev": "npm run build:electron && electron .",
"electron:build": "npm run build:electron && electron-builder --win",
"electron:dev": "electron .",
"electron:build": "electron-builder --win",
"test": "vitest run",
"test:watch": "vitest",
"cap:sync": "npm run build:app && cap sync",
@@ -27,7 +26,6 @@
"output": "release-desktop"
},
"files": [
"dist/**/*",
"electron/**/*"
],
"win": {