42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
untuk build linux , repo dan builder sdh di setup di 192.168.0.116
|
|
ssh ke one@192.168.0.116
|
|
kemudian
|
|
```bash
|
|
cd queue-display-sampling
|
|
```
|
|
Pastikan source sudah yang latest
|
|
```bash
|
|
git pull
|
|
```
|
|
|
|
Build dengan perintah
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
Hasilnya kurang lebih seperti berikut :
|
|
```bash
|
|
> queue-display-sampling@1.0.0 build
|
|
> electron-builder
|
|
|
|
• electron-builder version=24.13.3 os=6.8.0-52-generic
|
|
• writing effective config file=dist/builder-effective-config.yaml
|
|
• packaging platform=linux arch=x64 electron=34.1.1 appOutDir=dist/linux-unpacked
|
|
• building target=snap arch=x64 file=dist/queue-display-sampling_1.0.0_amd64.snap
|
|
• building target=AppImage arch=x64 file=dist/queue-display-sampling-1.0.0.AppImage
|
|
• application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
|
|
• default Electron icon is used reason=application icon is not set
|
|
• application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
|
|
```
|
|
Hasil akan terbuild di sub folder dist
|
|
```bash
|
|
ls -lh dist/queue*AppImage
|
|
-rwxr-xr-x 1 one one 104M Feb 12 09:54 dist/queue-display-sampling-1.0.0.AppImage
|
|
```
|
|
|
|
Note:
|
|
Agar bisa menjalankan AppImage harus install fuse
|
|
|
|
```bash
|
|
sudo apt install fuse
|
|
``` |