Commit Graph

12 Commits

Author SHA1 Message Date
Sergio Schvezov
d4da28357f snap launcher: avoid exporting XDG_CACHE_HOME
Exporting XDG_CACHE_HOME affects applications launched from within
the context of code.

Rename it to GDK_CACHE_DIR and do not export it. Also test for
existence before creating to avoid shelling out to mkdir if not
needed.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:26:57 -03:00
Sergio Schvezov
a100802412 snap launcher: fix quoting in script
Avoid any potential issue with globbing or word splitting.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
2020-02-21 17:23:26 -03:00
Martin Wimpress
04639e468c electron-launch: ABI compatible GDK PixBuf modules
Use ABI compatible GDK PixBuf modules from within the snap and build gdk-pixbuf-loaders.cache in the snaps common user data.
2019-03-21 08:34:21 +00:00
Martin Wimpress
c8493b459f electron-launch: Create $XDG_CACHE_HOME
Relocate $XDG_CACHE_HOME within the snaps common user data.
2019-03-21 08:32:13 +00:00
Martin Wimpress
07f2bdc176 electron-launch: Add architecture detection 2019-03-21 08:29:33 +00:00
Martin Wimpress
22dc561765 electron-launch: Correctly map the /snap directory on Fedora 2019-03-21 08:28:45 +00:00
Martin Wimpress
16a06aceb3 electron-launch: Use bash 2019-03-21 08:26:07 +00:00
Joao Moreno
df6ca821a6 remove args from electron launch 2018-11-07 12:41:17 +00:00
Joao Moreno
e840e83ff9 set executable bits 2018-11-06 15:08:02 +00:00
Daniel Imms
9d75305b7f Add fix for EACCES socket error
Fixes #44758
2018-03-05 10:06:04 -08:00
Daniel Imms
1d8b6bd409 Update snap build 2018-01-31 15:44:11 -08:00
Daniel Imms
d2b2b4d7ea Add support for building x64 snap package 2017-09-26 14:18:00 -04:00