| 39 | } |
| 40 | |
| 41 | void OpenScriptsFolder::onExecute(Context* context) |
| 42 | { |
| 43 | ResourceFinder rf; |
| 44 | rf.includeUserDir(base::join_path("scripts", ".").c_str()); |
| 45 | std::string scriptsDir = rf.getFirstOrCreateDefault(); |
| 46 | launcher::open_folder(scriptsDir); |
| 47 | } |
| 48 | |
| 49 | Command* CommandFactory::createOpenScriptsFolderCommand() |
| 50 | { |
nothing calls this directly
no test coverage detected