https://github.com/srect/electron-demo
electron demo
https://github.com/srect/electron-demo
Last synced: 1 day ago
JSON representation
electron demo
- Host: GitHub
- URL: https://github.com/srect/electron-demo
- Owner: sRect
- Created: 2021-10-09T05:25:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-12T10:00:12.000Z (almost 2 years ago)
- Last Synced: 2025-02-22T03:41:57.780Z (over 1 year ago)
- Language: TypeScript
- Size: 1020 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## electron demo

## 本地开发
```
npm run start
# 相当于执行了下面两个命令
# npm run start:render // 运行渲染进程
# npm run electron // 运行主进程
```
## 打包
```
npm run build
# 相当于执行了下面三个个命令
# npm run build:render // 渲染进程打包
# npm run build:main // 主进程打包
# npm run pack // electron打包
```
## mac 上打包 exe
```
npm run build:win
```