77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92 | # https://forum.snapcraft.io/t/simple-trick-to-reduce-size-and-startup-time-of-gnome-based-snaps/12006
cleanup:
after: [ python, st2, desktop-gtk2 ]
plugin: nil
build-snaps: [ gnome-3-28-1804 ]
override-prime: |
set -eux
cd /snap/gnome-3-28-1804/current
find . -type f,l -exec rm -f $SNAPCRAFT_PRIME/{} \;
#cd $SNAPCRAFT_PRIME/usr/lib/locale
#find . -type f,l -exec rm -f $SNAPCRAFT_PRIME/{} \;
apps:
pyz:
command: desktop-launch $SNAP/streamtuner2.pyz
plugs: |
|
|
| 77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92 | # https://forum.snapcraft.io/t/simple-trick-to-reduce-size-and-startup-time-of-gnome-based-snaps/12006
cleanup:
after: [ python, st2, desktop-gtk2 ]
plugin: nil
build-snaps: [ gnome-3-28-1804 ]
override-prime: |
set -eux
#cd /snap/gnome-3-28-1804/current
#find . -type f,l -exec rm -f $SNAPCRAFT_PRIME/{} \;
#cd $SNAPCRAFT_PRIME/usr/lib/locale
#find . -type f,l -exec rm -f $SNAPCRAFT_PRIME/{} \;
apps:
pyz:
command: desktop-launch $SNAP/streamtuner2.pyz
plugs: |