build and deploy on arm64

This commit is contained in:
2024-07-23 16:25:39 +02:00
parent 792e82e035
commit b499ec8054
3 changed files with 23 additions and 14 deletions
+10 -3
View File
@@ -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