Skip to main content

quasar-electron-development

Build, configure, secure, debug, test, package, and release Quasar desktop applications using Electron on Windows, macOS, and Linux. Use for Quasar Electron mode, main and preload processes, context isolation, IPC, native menus, file and protocol handling, deep links, auto-updates, packaging, signing, and `quasar dev` or `quasar build -m electron` workflows.

소스 정보

저장소
quasarframework/quasar-ui-qwindow
최근 소스 활동
2026년 8월 25일 17:34
감지된 SKILL.md 언어
영어
스타
57
포크
3

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
quasar-electron-development
description
Build, configure, secure, debug, test, package, and release Quasar desktop applications using Electron on Windows, macOS, and Linux. Use for Quasar Electron mode, main and preload processes, context isolation, IPC, native menus, file and protocol handling, deep links, auto-updates, packaging, signing, and `quasar dev` or `quasar build -m electron` workflows.
# Quasar Electron Development Use this skill with `quasar-development` for renderer UI and shared application concerns. ## Map the process boundary 1. Inspect `quasar.config.* > electron`, `src-electron/electron-main.*`, every preload script, IPC definitions, packaging tool, and updater strategy. 2. Read the current [Quasar Electron documentation](https://quasar.dev/quasar-cli-vite/developing-electron-apps/introduction) and Electron security guidance. 3. Add the mode with `quasar mode add electron`. 4. Identify which code runs in main, preload, and renderer before editing. ## Enforce Electron security - Keep `contextIsolation` enabled and renderer Node integration disabled. - Expose a narrow, typed preload API through `contextBridge`; never expose raw `ipcRenderer`, filesystem, shell, or process objects. - Validate IPC sender, channel, arguments, paths, URLs, and return data in the main process. - Do not enable the deprecated `remote` module. - Restrict navigation, new windows, permissions, protocols, and external URL opening. Allowlist schemes and destinations. - Apply a strong Content Security Policy and avoid loading remote executable content. - Treat renderer input as untrusted even when the app is local. - Resolve packaged assets with Quasar's supported Electron runtime helpers when applicable. ## Package deliberately - Keep main/preload dependencies and native modules in the correct package scope. - Rebuild and test native modules for each target architecture. - Configure application identity, icons, file associations, protocols, signing, notarization, and artifact names for each OS. - Design auto-update signing, rollout, rollback, and migration behavior before enabling it. ## Validate 1. Run `quasar dev -m electron` and exercise main/preload/renderer interactions. 2. Add tests around IPC validation and privileged operations. 3. Build with `quasar build -m electron` using the configured packager. 4. Install and launch packaged artifacts on every supported OS; test upgrade/uninstall behavior where relevant. 5. Run tests, typecheck, lint, formatting, dependency audit, and inspect the packaged file set.
GitHub에서 보기