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

Multiple script directories #181

Closed
hugbug opened this Issue Mar 3, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@hugbug
Member

hugbug commented Mar 3, 2016

The location of scripts is set via option ScriptDir.
Sometimes it can be useful to have more than one directory with scripts. To allow this the option ScriptDir should accept multiple paths (separated with comma or semicolon).

If the a script with the same name exist in multiple locations only the first found script should be used and all others can (should) be ignored.

Also see SynoCommunity/spksrc#1921

@hugbug hugbug added the feature label Mar 3, 2016

@hugbug hugbug added this to the v17.0 milestone Mar 3, 2016

hugbug added a commit that referenced this issue Mar 3, 2016

#181: multiple script directories
Option “ScriptDir” now accepts multiple directories (separated with
comma or semicolon).

hugbug added a commit that referenced this issue Mar 3, 2016

#181: show first script directory in OS X app
If option “ScriptDir” contains multiple paths the menu command “Show in
Finder -> Scripts” of OS X application shows the first path contained
in option (instead of failing).

hugbug added a commit that referenced this issue Mar 14, 2016

#181: show first script directory in Windows app
If option “ScriptDir” contains multiple paths the menu command “Show in
Windows Explorer -> Scripts” of tray icon shows the first path
contained in option (instead of failing).

@hugbug hugbug closed this Mar 14, 2016

@KaHooli KaHooli referenced this issue Jan 7, 2017

Open

Requirements to be ready #1

19 of 26 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment