Skip to content

Commit

Permalink
Use SNAP_USER_COMMON as location for diabdat.mpq
Browse files Browse the repository at this point in the history
Many thanks to @zyga for the initial feedback to improve
the user experience - it's greatly appreciated!
  • Loading branch information
lotharsm committed May 20, 2020
1 parent f4cc32e commit 4794b0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ grade: stable

apps:
devilutionx:
command: desktop-launch $SNAP/usr/bin/devilutionx
command: desktop-launch $SNAP/usr/bin/devilutionx --data-dir $SNAP_USER_COMMON
plugs:
- x11
- wayland
Expand All @@ -29,6 +29,9 @@ apps:
- network
- network-bind

environment:

This comment has been minimized.

Copy link
@zyga

zyga May 20, 2020

I think this is somewhat redundant with the --data-dir but please keep it for now. Maybe it will make accessing save files easier.

This comment has been minimized.

Copy link
@lotharsm

lotharsm May 20, 2020

Author Owner

Ah, right. I think it's totally obsolete, the game seems to ignore this setting and mainly uses it for the SDL1 port instead. So it basically does nothing at this point. I'll keep it just to make sure for now, I will get rid of it during the next cleanup.

XDG_DATA_HOME: $SNAP_USER_COMMON/

layout:
/usr/share/fonts/truetype:
bind: $SNAP/usr/share/fonts/truetype
Expand Down

0 comments on commit 4794b0b

Please sign in to comment.