{"id":19069555,"url":"https://github.com/srect/electron-demo","last_synced_at":"2026-06-12T21:31:26.133Z","repository":{"id":114172610,"uuid":"415211206","full_name":"sRect/electron-demo","owner":"sRect","description":"electron demo","archived":false,"fork":false,"pushed_at":"2024-07-12T10:00:12.000Z","size":1041,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T03:41:57.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sRect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-10-09T05:25:39.000Z","updated_at":"2024-07-12T10:00:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe0acfcf-1edc-4f8b-888f-08173f4c35f8","html_url":"https://github.com/sRect/electron-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sRect/electron-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sRect%2Felectron-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sRect%2Felectron-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sRect%2Felectron-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sRect%2Felectron-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sRect","download_url":"https://codeload.github.com/sRect/electron-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sRect%2Felectron-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34263869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T01:14:45.299Z","updated_at":"2026-06-12T21:31:26.082Z","avatar_url":"https://github.com/sRect.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## electron demo\n\n![](https://img.shields.io/badge/electron-^31.1.0-blue.svg)\n\n## 本地开发\n\n```\nnpm run start\n# 相当于执行了下面两个命令\n# npm run start:render // 运行渲染进程\n# npm run electron // 运行主进程\n```\n\n## 打包\n\n```\nnpm run build\n# 相当于执行了下面三个个命令\n# npm run build:render // 渲染进程打包\n# npm run build:main // 主进程打包\n# npm run pack // electron打包\n```\n\n## mac 上打包 exe\n\n```\nnpm run build:win\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrect%2Felectron-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrect%2Felectron-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrect%2Felectron-demo/lists"}