https://github.com/dongri/play-macos
play on macos
https://github.com/dongri/play-macos
electron macos
Last synced: about 2 months ago
JSON representation
play on macos
- Host: GitHub
- URL: https://github.com/dongri/play-macos
- Owner: dongri
- Created: 2018-01-01T05:27:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T04:28:01.000Z (about 2 years ago)
- Last Synced: 2025-01-21T05:15:55.449Z (3 months ago)
- Topics: electron, macos
- Language: JavaScript
- Homepage:
- Size: 2.77 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Play
https://github.com/dongri/play# Development
```
$ npm install -g electron
$ electron -v
v1.7.9$ git clone [email protected]:dongri/play.git
$ cd play/electron
$ vim index.html
src="http://localhost:5000/macos"$ electron .
```# Create app file
```
$ npm install -g electron-packager
$ ./package.sh
```# Create DMG
```
$ npm install -g electron-builder
$ electron-builder build
$ ll docs
-rw-r--r--@ 1 dongri staff 44M Oct 31 15:37 Play-0.0.1.dmg
drwxr-xr-x 3 dongri staff 102B Oct 31 15:36 mac
```