mirror of https://github.com/PCSX2/pcsx2.git
linux: create a small linux script to properly launch PCSX2 from a desktop shortcut
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4291 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
ccc86cfaf8
commit
94b0ead7ff
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This script is a small wrapper to the PCSX2 exectuable. The purpose is to
|
||||
# launch PCSX2 from the same repository every times.
|
||||
# Rationale: There is no guarantee on the directory when PCSX2 is launched from a shortcut.
|
||||
# This behavior trigger the first time wizards everytime...
|
||||
|
||||
# Note: sh (dash on debian) does not support pushd, popd...
|
||||
# Save current directory
|
||||
PWD_old=$PWD
|
||||
|
||||
# Go to the script directory
|
||||
chdir `dirname $0`
|
||||
./pcsx2
|
||||
|
||||
# Go back to the old directory
|
||||
chdir $PWD_old
|
Loading…
Reference in New Issue