Skip to content

Commit

Permalink
启用rpm包构建
Browse files Browse the repository at this point in the history
  • Loading branch information
alx696 committed Sep 3, 2021
1 parent d15030e commit ce748b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ npm test
```
export ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/
export ELECTRON_BUILDER_BINARIES_MIRROR=http://npm.taobao.org/mirrors/electron-builder-binaries/
#sudo apt install -y rpm
sudo apt install -y rpm
yarn --verbose && yarn linux
```
> [参考](https://www.electron.build/#quick-setup-guide)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"linux": {
"category": "Network;P2P",
"target": [
"deb"
"deb",
"rpm"
],
"icon": "build/assets",
"executableName": "po-long"
Expand Down

0 comments on commit ce748b0

Please sign in to comment.