fix(desktop): align runtime AppUserModelId with electron-builder appId

This commit is contained in:
Yun Chan 2026-09-28 02:16:18 +09:00
parent 5322d981cc
commit a4acb42573
4 changed files with 63 additions and 3 deletions

View file

@ -3,10 +3,11 @@
import { app } from 'electron'
import electronLog from 'electron-log'
import path from 'path'
import { applyAppIdentity } from './app-identity'
// 앱 식별자 명시 (기본값 'Electron'과 충돌 방지)
app.setName('d3ro-voice')
app.setAppUserModelId('kr.twentyoz.d3ro-voice')
// 앱 식별자 명시 (기본값 'Electron'과 충돌 방지).
// AUMID는 electron-builder appId와 같아야 토스트 알림·작업 표시줄 그룹이 동작한다.
applyAppIdentity(app)
// GPU 하드웨어 가속 충돌(NVIDIA/Razer/Oculus 훅)로 인한 투명/블랭크 윈도우 방지
app.disableHardwareAcceleration()