Fix file execute action not launching script

This commit is contained in:
crschnick 2023-11-25 10:37:13 +00:00
parent dbec0b8fd7
commit 795b00eb8a

View file

@ -65,6 +65,6 @@ public class RunAction extends MultiExecuteAction {
@Override @Override
protected String createCommand(ShellControl sc, OpenFileSystemModel model, BrowserEntry entry) { protected String createCommand(ShellControl sc, OpenFileSystemModel model, BrowserEntry entry) {
return sc.getShellDialect().runScriptCommand(sc, entry.getFileName()); return sc.getShellDialect().runScriptCommand(sc, entry.getRawFileEntry().getPath());
} }
} }