Skip to content
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

Add plugin setting to control default base image directory #8

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

mpaperno
Copy link
Collaborator

@mpaperno mpaperno commented Dec 19, 2022

Having the plugin's install folder as the default base path was awkward and pretty useless. This changes the default image base path from the plugin's installed directory to TP's config directory, two levels up. Relative paths in any existing actions will need to be updated.

And the base path can now be set by the user with "Default Image Files Path" setting.

If there's a better cross-platform way to determine TP's config folder, I'm all for it.
https://github.com/spdermn02/TouchPortal-Dynamic-Icons/pull/8/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R31

…e image file paths.

**NOTE**: This changes the default image base path from the plugin's installed directory to TP's config directory, two levels up. Relative paths in any existing actions will need to be updated.
@spdermn02 spdermn02 merged commit 9e76215 into spdermn02:main Jan 9, 2023
@mpaperno mpaperno deleted the mp/feat_img_path_setting branch August 19, 2023 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants