-
-
Notifications
You must be signed in to change notification settings - Fork 191
Compile Pangolin Desktop
- Flutter SDK (on
masterchannel) and desktop support enabled
flutter channel master
flutter config --enable-linux-desktop or flutter config --enable-windows-desktop or flutter config --enable-macos-desktop
- First, clone Pangolin Desktop
git clone --recurse-submodules https://github.com/dahliaos/pangolin-desktop pangolin_desktopand then drop into the directory viacd pangolin_desktop - Finally, to compile binaries, run
flutter build linux --debug(substitute --debug with --release if needed).
When to process is finished, copy the binary bundle from /output/build/linux.
Replace the bundle folder in the buildroot buildroot/output/target/dahlia/pangolin_desktop with your updated version, and run make again.
The process is complete.
Flash external media with the dahliaOS image, boot it, and expand the filesystem with /bin/expand-fs.
Make sure to modify the values in expand-fs to align with the information on the USB to prevent data loss.
Now, take an EXT4 formatted flash drive, and add the compiled Pangolin bundle to it. Attach the USB drive to the device running dahliaOS, open terminal, and type the following:
mkdir /mnt/shellsmount -o loop /dev/<drive identifier> /mnt/shellscd /dahliacp -r /mnt/shells/pangolin_desktop pangolin_desktopreboot
The system will reboot into the updated desktop, if errors arise, run rm /root/system-hive/* to clear states.