blob: ec6ee1e1d80a99cf8bdd4e6ec43796470cf4ef04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
mkdir -p $HOME/.local/share/mcpelauncher
cd $HOME/.local/share/mcpelauncher
mkdir -p libs
for i in /opt/mcpelauncher-git/libs/*; do
i=$(basename $i)
if ! [[ -d libs/$i ]]; then
ln -s /opt/mcpelauncher-git/libs/$i libs/$i
fi
done
if ! [[ -f mcpelauncher-icon.png ]]; then
ln -s /opt/mcpelauncher-git/mcpelauncher-icon.png mcpelauncher-icon.png
fi
if ! [[ -f src ]]; then
ln -s /opt/mcpelauncher-git/src src
fi
export LD_LIBRARY_PATH=/opt/mcpelauncher-git/
/opt/mcpelauncher-git/mcpelauncher "$@"
|