1.5 KiB
1.5 KiB
| utworzone | tag |
|---|---|
| 2022-05-17 | wikipage |
referencje:: Linux
Doc
https://snapcraft.io/docs/build-on-lxd
https://askubuntu.com/questions/1061801/not-able-to-create-snap-with-executable
https://community.kde.org/Guidelines_and_HOWTOs/Snap
Chromium
https://launchpad.net/chromium-browser
Inicjalizacja
sudo snap install snapcraft
snapcraft init
Konfiguracja
architectures:
- build-on: all
run-on: [amd64, i386, armhf]
snap/snapcraft.yaml
Budowanie
Używając aktualnie zainstalowanego ubuntu
snapcraft --destructive-mode
Inne
Shell snapa
snap run --shell <snap>.<command>
Przepakowanie
https://forum.snapcraft.io/t/chromium-configurable-launch-flags/10278/14
snap download chromium
unsquashfs chromium_*.snap
# edit squashfs-root/meta/snap.yaml to add the plug and save
snapcraft pack squashfs-root