diff --git a/README.md b/README.md index d76140c..8bd1cff 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/package.json b/package.json index 4cd7c4c..4a4805f 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,8 @@ "linux": { "category": "Network;P2P", "target": [ - "deb" + "deb", + "rpm" ], "icon": "build/assets", "executableName": "po-long"