b499ec80540014782ea92d843cbcd1f7a76258f5
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
Description
Languages
JavaScript
62.5%
HTML
31.3%
Shell
6.2%