-
Notifications
You must be signed in to change notification settings - Fork 2
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
Linux scripts incorrectly treat relative paths #1
Comments
It should work fine on Mint, I used to use Mint before, it's just a derivate of Ubuntu. The script I posted, in fact, should work in any Linux distro I know of, it's just bash! |
As people mention there, this is much simpler, but should also work in the majority of cases:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've just downloaded the Sciter SDK and tried to run Quark on Ubuntu. It doesn't work because the relative paths are not treated correctly.
Here's your current Linux script:
This only works if I run it from
sdk_path/bin.quark/linux
.To make it work from anywhere, it should look like this:
It's also necessary to chmod
scapp
(which is not mentioned in the tutorial at http://quark.sciter.com/quark-application-samples/hello-world/) but now it works.One hint: if you pack the application in a tar ball, file permissions should be preserved, so users wouldn't need to
chmod
it (but I assume you need to do it from Linux/MacOS, not Windows).The text was updated successfully, but these errors were encountered: