From 0dd94dd9aaa91377f92c343cd7bc07d0e97dc97c Mon Sep 17 00:00:00 2001 From: luk3yx Date: Mon, 19 Oct 2020 18:48:09 +1300 Subject: [PATCH] Update launcher and (finally) add deprecation notice --- README.md | 7 +++++++ snap/scripts/launcher | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 88a1cb3..a812cc6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ # luk3yx's unofficial Minetest snap This is my unofficial Minetest snap package, derived from the Minetest snap in the snappy playpen. +# Deprecation + +This snap is now deprecated, you should install the +[`minetest`](https://github.com/snapcrafters/minetest) snap instead. I will +probably continue to update it, however I will not guarantee that it will have +the latest version of Minetest. + **NOTE**: The `snapcraft.yaml` here is now mostly copied from the [official snap](https://github.com/snapcrafters/minetest). diff --git a/snap/scripts/launcher b/snap/scripts/launcher index 6dc0857..fa34233 100755 --- a/snap/scripts/launcher +++ b/snap/scripts/launcher @@ -3,7 +3,7 @@ case "$SNAP_ARCH" in *86) ARCH="i386-linux-gnu" ;; - *64) + amd64) ARCH="x86_64-linux-gnu" ;; *) @@ -45,4 +45,7 @@ if [ ! -e "$t/pack" ] || [ "$(readlink -m "$t")" != "$s" ]; then ln -sf "$s" "$t" fi +# Workaround for snap locale support +export LC_ALL="C.UTF-8" + exec "$SNAP/bin/minetest" "$@"