felixtang / hoxchess

Automatically exported from code.google.com/p/hoxchess
0 stars 0 forks source link

Unable to run application outside of HOXChess/bin path #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. running hoxchess executable from outside HOXChess/bin path

What is the expected output? What do you see instead?
The application should be able to run as normal regardless of where the
executable file is running from. Attempting to run the executable file from
outside HOXChess/bin path resulted in image files and AI plugins not loaded.

What version of the product are you using? On what operating system?
I'm running HOXChess 0.8.0.0 on Ubuntu 9.04 (Jaunty Jackalope)

Original issue reported on code.google.com by marshal.yung on 31 Aug 2009 at 9:49

GoogleCodeExporter commented 8 years ago
Thank you for reporting the bug.
I hope that this bug, which I am aware of, does not prevent you from running 
HOXChess.

Original comment by huypha...@gmail.com on 3 Sep 2009 at 2:43

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Remove the hard-coded path-prefix "../" to load resources/assets at runtime.
Use the wxStandardPaths::GetExecutablePath() instead.
Now, under Linux OSs, the user should be able to run HOXChess from outside 
HOXChess/bin 
path.
http://code.google.com/p/hoxchess/source/detail?r=698

Original comment by huypha...@gmail.com on 12 Dec 2009 at 6:06