{"id":20678551,"url":"https://github.com/codegetters/electron-example","last_synced_at":"2025-03-10T19:26:03.228Z","repository":{"id":180021073,"uuid":"664445677","full_name":"CodeGetters/electron-example","owner":"CodeGetters","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-12T02:14:09.000Z","size":3938,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T15:16:36.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeGetters.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-10T01:58:59.000Z","updated_at":"2023-07-10T03:01:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"c17de92f-a705-430c-83d0-66498dc6d9f0","html_url":"https://github.com/CodeGetters/electron-example","commit_stats":null,"previous_names":["codegetters/electron-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGetters%2Felectron-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGetters%2Felectron-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGetters%2Felectron-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeGetters%2Felectron-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeGetters","download_url":"https://codeload.github.com/CodeGetters/electron-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242911175,"owners_count":20205446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T21:20:48.521Z","updated_at":"2025-03-10T19:26:03.219Z","avatar_url":"https://github.com/CodeGetters.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# electron 示例\n\n[English](./README.md) | 简体中文\n\n## 使用\n\n```shell\n# 切换到你想要运行的案例\ncd xxx\n\nyarn install\n\n# 启动\nyarn start\n\n# 打包\nyarn make\n```\n\n## Dark Mode\n\n此示例演示了 Electron 应用程序从 nativeTheme 中获取主题颜色。 此外，它还使用 IPC 通道提供主题切换和重置控制。\n\n先使用 [prefers-color-scheme](https://developer.mozilla.org/zh-CN/docs/Web/CSS/@media/prefers-color-scheme) 媒体查询检测用户是否有将系统的主题色设置为亮色或者暗色，并进行同步切换\n\n如果想要手动切换，那么就使用 nativeTheme 模块中的 themeSource 属性\n\n## 设备访问\n\n### 蓝牙连接\n\n### WebHID\n\n## 键盘快捷键\n\n## [Vue + Electron](https://blog.csdn.net/qq_37460847/article/details/126918641)\n\n## 证书\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegetters%2Felectron-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodegetters%2Felectron-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegetters%2Felectron-example/lists"}