How does it work before?
Fixed 338 bug and probably targeting with loadingwindow.
This commit is contained in:
@@ -248,6 +248,8 @@ static void ChangeToDirOfExecutable( const RString &argv0 )
|
|||||||
* written through RageFile. See also RageFileManager::RageFileManager. */
|
* written through RageFile. See also RageFileManager::RageFileManager. */
|
||||||
#if defined(_WINDOWS)
|
#if defined(_WINDOWS)
|
||||||
chdir( RageFileManagerUtil::sDirOfExecutable + "/.." );
|
chdir( RageFileManagerUtil::sDirOfExecutable + "/.." );
|
||||||
|
#elif defined(UNIX)
|
||||||
|
chdir( RageFileManagerUtil::sDirOfExecutable + "/" );
|
||||||
#elif defined(MACOSX)
|
#elif defined(MACOSX)
|
||||||
/* If the basename is not MacOS, then we've likely been launched via the command line
|
/* If the basename is not MacOS, then we've likely been launched via the command line
|
||||||
* through a symlink. Assume this is the case and change to the dir of the symlink. */
|
* through a symlink. Assume this is the case and change to the dir of the symlink. */
|
||||||
|
|||||||
Reference in New Issue
Block a user