-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAMEHub can't be launched outside of the same folder in Linux #372
Comments
You can change the sh file to cd to the directory containing the sh file
|
I would love to do it, but I don't have the knowledge. Since I know where I placed my folder and how It's called I can cd to it editing the .sh file, but I can't do anything that would work system-wide regardless of the name of the folder and the location. I apologize for it. At least I can confirm that if you cd to the directory editing the .sh file it works properly. |
Here's the knowledge: You can use that one-liner to get the directory of the sh file regardless On Tue, Mar 1, 2016 at 1:50 PM Kurolox [email protected] wrote:
|
I just googled it for the last 15 minutes and you found it in 30 seconds or so. I'm impressed. I'll submit the fix tomorrow. Here is a bit late and I should sleep a bit. |
you can use this script http://pastebin.com/CPEK2bvS |
Using Arch Linux 4.4.1-2. When executing the .sh file outside of the folder where it's placed it throws an error. Here's an example.
I executed this from my desktop (It doesn't work):
This is also from my desktop, but this time I cd into the folder before executing the .sh. This time it works.
Just a minor bug, but It's really annoying because I can't make a working .desktop file properly.
The text was updated successfully, but these errors were encountered: