Update README.md and launcher
This commit is contained in:
parent
f7120d9303
commit
dbb134d435
34
README.md
34
README.md
@ -2,23 +2,26 @@
|
||||
This is my unofficial Minetest snap package, derived from the Minetest snap in the snappy playpen.
|
||||
|
||||
## How to install
|
||||
|
||||
**Using sudo: (Ubuntu & Derivatives)**
|
||||
~~~
|
||||
$ sudo snap install minetest-luk3yx
|
||||
$ sudo snap install --edge minetest-luk3yx-dev
|
||||
~~~
|
||||
|
||||
**Using su:**
|
||||
~~~
|
||||
$ su -c 'snap install minetest-luk3yx'
|
||||
$ su -c 'snap install --edge minetest-luk3yx-dev'
|
||||
~~~
|
||||
|
||||
|
||||
Note: Make sure that snapd is installed before running the above commands.
|
||||
|
||||
## Stable builds
|
||||
You can find stable builds [here](https://github.com/luk3yx/minetest-luk3yx).
|
||||
|
||||
The [`minetest` snap](https://snapcraft.io/minetest) provides stable releases.
|
||||
|
||||
## FAQ
|
||||
|
||||
**What is a snap?**
|
||||
|
||||
Snaps are universal Linux packages.
|
||||
@ -29,27 +32,4 @@ You can find it [here](https://forum.minetest.net/viewtopic.php?f=42&t=16088).
|
||||
|
||||
**How do I install snapd?**
|
||||
|
||||
Debian, Ubuntu, and Ubuntu derivatives:
|
||||
~~~
|
||||
sudo apt install snapd
|
||||
~~~
|
||||
|
||||
|
||||
OpenSuse:
|
||||
~~~
|
||||
sudo zypper addrepo http://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_42.2/ snappy
|
||||
sudo zypper install snapd
|
||||
~~~
|
||||
|
||||
|
||||
Arch Linux:
|
||||
~~~
|
||||
sudo pacman -S snapd
|
||||
sudo systemctl enable --now snapd.socket
|
||||
~~~
|
||||
|
||||
|
||||
More:
|
||||
[http://snapcraft.io/docs/core/install](http://snapcraft.io/docs/core/install)
|
||||
|
||||
Credit to [http://snapcraft.io](http://snapcraft.io) for the resources shown in the FAQ.
|
||||
[https://snapcraft.io/docs/core/install](https://snapcraft.io/docs/core/install)
|
||||
|
@ -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" "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user