Files
Tooloop-Kiosk-Browser/README.md
T

46 lines
595 B
Markdown
Raw Normal View History

2024-05-28 11:06:58 +02:00
2024-06-04 10:00:11 +02:00
![App icon](images/icon-512.png)
# Install dev environment
2024-05-28 14:25:32 +02:00
```bash
2024-05-28 16:43:25 +02:00
sudo apt install node
sudo apt install npm
2024-05-28 14:25:32 +02:00
sudo apt install rpm
npm install
2024-06-04 10:00:11 +02:00
# On Linux
2024-05-28 14:25:32 +02:00
# https://github.com/electron/electron/issues/17972
sudo chown root chrome-sandbox
chmod 4755 chrome-sandbox
2024-06-04 10:00:11 +02:00
# for cross compilation Mac -> Linux
brew install dpkg
brew install fakeroot
```
# Build
2024-06-04 10:00:11 +02:00
```bash
# one of
2024-05-28 14:25:32 +02:00
npm run make
2024-06-04 10:00:11 +02:00
npm run make-linux
npm run make-all
```
# Run
2024-06-04 10:00:11 +02:00
```bash
# Mac
npm run start
2024-05-28 14:25:32 +02:00
2024-06-04 10:00:11 +02:00
# Linux
./out/Tooloop\ Kiosk\ Browser-linux-arm64/Tooloop\ Kiosk\ Browser --no-sandbox
```
# Deploy
```bash
npm run deploy
2024-05-28 14:25:32 +02:00
```