mirror of
https://github.com/bakustarver/rpgmakermlinux-cicpoffs.git
synced 2025-03-28 14:56:21 +01:00
Update install.sh
This commit is contained in:
parent
5e36432cc5
commit
025dd20a25
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
installpath=$(dirname "$0")
|
||||
version='1.1.0'
|
||||
version='1.1.4'
|
||||
if ! [ -d "$installpath/nwjs" ]; then
|
||||
echo "Can't find nwjs folder"
|
||||
exit 1;
|
||||
|
@ -125,6 +125,12 @@ xdg-mime default nwjsoptions.desktop x-scheme-handler/rpgmakermp
|
|||
echo "Installation Done"
|
||||
|
||||
|
||||
if [ ! -f "$HOME/.profile" ]; then
|
||||
if [ ! -f "$HOME/.bash_profile" ] || ! cat "$HOME/.bash_profile" | grep -q ".local/bin"; then
|
||||
echo 'if [ -d "$HOME/.local/bin" ]; then export PATH="$PATH:$HOME/.local/bin" ; fi' >> ~/.bash_profile
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [ -d "$HOME/.steam/" ]; then
|
||||
steamcompatibilitytoolinstaller "$compatibilitytoolsfddef"
|
||||
|
|
Loading…
Add table
Reference in a new issue