Files
2024-07-23 16:25:39 +02:00

878 B

App icon

Install dev environment

Only on arm64

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
sudo apt install nodejs
sudo apt install npm
sudo apt install rpm

npm install

# On Linux
# https://github.com/electron/electron/issues/17972
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
brew install fakeroot

Build

# one of
npm run make
npm run make-linux
npm run make-all

Run

# Mac
npm run start

# Linux
./out/Tooloop\ Kiosk\ Browser-linux-arm64/Tooloop\ Kiosk\ Browser --no-sandbox

Deploy

npm run deploy