v0.1.80
v0.1.80 — macOS Sonoma 호환 fix + 웹사이트 자동 동기화
원인 가설
- v0.1.79 에서 추가한 Chromium GPU flag 5종 중
canvas-oop-rasterization/enable-accelerated-2d-canvas가 macOS Sonoma 의 Apple Metal driver 와 충돌 → GPU process crash 또는 부팅 실패.
수정
- platform 분기.
Mac (Sonoma 포함)
- Apple Metal 기본 가속이 충분 → 보수적으로
ignore-gpu-blocklist하나만.
Win/Linux
- 5종 flag 모두 enable (v0.1.79 그대로).
- 효과: Sonoma 에서 부팅 실패 회귀 차단. Metal 의 기본 GPU 가속은 별도 flag 없이도 활성화돼 있어 2D 모드 성능 유지.
2) https://viewwork.work 자동 동기화
scripts/generateReleaseNotes.ts
- 확장 —
updateVersionJson()함수 신규: web/version.json의version을package.json의 새 버전으로 갱신.platformsmap 의 URL 안 옛 버전 번호를 새 버전으로 일괄 치환 (예:ViewWork-Setup-0.1.64-x64.exe→ViewWork-Setup-0.1.80-x64.exe).publishedAt도 오늘 ISO 날짜로.- 검증: 로컬 실행 결과
v0.1.64 → v0.1.79정상 갱신 (platforms URL 5종 동기화 포함).
.github/workflows/release.yml
- — 신규
web-deployjob 추가: buildjob (3 platform binary) 끝나면 ubuntu-latest 에서 실행.npm run web:release-notes로 release.json + 개별 release/v\<v\>/index.html + sitemap.xml + version.json 갱신.wrangler pages deploy web --project-name viewwork로 Cloudflare Pages 배포.CLOUDFLARE_API_TOKENsecret 없으면 graceful skip (workflow 자체 실패 안 함).
사용자 후속 작업
- Cloudflare API token secret 1개 등록 시 자동 배포 활성:
gugu9999gu/ViewWork → Settings → Secrets → New repository secret- Name:
CLOUDFLARE_API_TOKEN/ Value: dash.cloudflare.com → My Profile → API Tokens → "Pages:Edit" 권한의 token.
3) 검증
npx tsc --noEmitexit=0npm run build성공 (renderer 3,248 KB, 변동 없음)- 로컬
npx tsx scripts/generateReleaseNotes.ts결과: release.json20 entriesweb/release/v<X>/index.html20 pagessitemap.xml12 URLs addedversion.jsonv0.1.64 → v0.1.79 (이번 commit 후엔 v0.1.80) 갱신 + platforms URL 5종 동기화
4) 파일 변경
- 수정:
electron/main.ts(GPU flag mac/non-mac 분기 +5 lines) - 수정:
scripts/generateReleaseNotes.ts(updateVersionJson 함수 +40 lines) - 수정:
.github/workflows/release.yml(web-deploy job +28 lines) - 수정:
web/version.json(자동 — 이번 commit 시 v0.1.79 로 갱신됨, 다음 release 시 자동 v0.1.80) - 수정:
web/release.json,web/release/v*/index.html,web/sitemap.xml(자동 생성) - 수정:
package.json0.1.79 → 0.1.80 - --
📦 GitHub 릴리스 노트: v0.1.80