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

Relative path to script files #412

Closed
sardinas9 opened this Issue Dec 8, 2016 · 5 comments

Comments

Projects
None yet
2 participants
@sardinas9

sardinas9 commented Dec 8, 2016

Hello!
I put the script in a sub folder in the QON Data folder (I use portable mode). The script works ok if QON uses an absolute path to the script file. It's possible to use a relative path to the script files in the same way we do with the notes folders?
Thanks!

@pbek pbek added the enhancement label Dec 9, 2016

@pbek

This comment has been minimized.

Owner

pbek commented Dec 9, 2016

I'll see what I can do.

@pbek

This comment has been minimized.

Owner

pbek commented Dec 10, 2016

16.12.4

  • scripts now also work with a path relative to the data directory in
    portable mode
  • if you select a new script path for a script in the script settings the
    directory of your current script will be selected
    • in portable mode the data directory will be selected if no script path
      was set yet
  • the path to an external editor will now also be stored relative to the
    data directory in portable mode
    • if you select a path and no path was set yet the data directory
      will now be selected

@pbek pbek added this to the 16.12.4 milestone Dec 10, 2016

@pbek

This comment has been minimized.

Owner

pbek commented Dec 10, 2016

There now is a new release, could you please test it and report if the new features work for you?

@sardinas9

This comment has been minimized.

sardinas9 commented Dec 10, 2016

Everything works OK. Thanks!
Thanks also for implement the relative path to an external editor. I think now all path settings are fully portable.

@pbek

This comment has been minimized.

Owner

pbek commented Dec 10, 2016

Great, thank you for testing.

@pbek pbek closed this Dec 10, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment