-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a trick to reduce the snap size
This trick reduces the size from 110 to 87 MBytes.
- Loading branch information
1 parent
66ac603
commit ea55fce
Showing
2 changed files
with
55 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
export GIO_MODULE_DIR=$SNAP/gnome-platform/usr/lib/$ARCH_TRIPLET/gio/modules | ||
export GSETTINGS_SCHEMA_DIR=$SNAP/usr/share/glib-2.0/schemas:$SNAP/gnome-platform/usr/share/glib-2.0/schemas${GSETTINGS_SCHEMA_DIR:+:$GSETTINGS_SCHEMA_DIR} | ||
export GST_PLUGIN_PATH=$SNAP/gnome-platform/usr/lib/$ARCH_TRIPLET/gstreamer-1.0${GST_PLUGIN_PATH:+:$GST_PLUGIN_PATH} | ||
export GST_PLUGIN_SYSTEM_PATH=$GST_PLUGIN_SYSTEM_PATH:$SNAP/gnome-platform/usr/lib/$ARCH_TRIPLET/gstreamer-1.0 | ||
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters