build and deploy on arm64
This commit is contained in:
@@ -3,8 +3,15 @@
|
||||
|
||||
# Install dev environment
|
||||
|
||||
Only on arm64
|
||||
|
||||
```bash
|
||||
sudo apt install node
|
||||
wget https://launchpad.net/ubuntu/+source/phantomjs/2.1.1+dfsg-2ubuntu1/+build/19118060/+files/phantomjs_2.1.1+dfsg-2ubuntu1_arm64.deb
|
||||
sudo apt install ./phantomjs_2.1.1+dfsg-2ubuntu1_arm64.deb
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo apt install nodejs
|
||||
sudo apt install npm
|
||||
sudo apt install rpm
|
||||
|
||||
@@ -12,8 +19,8 @@ npm install
|
||||
|
||||
# On Linux
|
||||
# https://github.com/electron/electron/issues/17972
|
||||
sudo chown root chrome-sandbox
|
||||
chmod 4755 chrome-sandbox
|
||||
sudo chown root node_modules/electron/dist/chrome-sandbox
|
||||
sudo chmod 4755 node_modules/electron/dist/chrome-sandbox
|
||||
|
||||
# for cross compilation Mac -> Linux
|
||||
brew install dpkg
|
||||
|
||||
Reference in New Issue
Block a user