Skip to content

Commit

Permalink
Show in explorer debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoVgr committed Jan 23, 2024
1 parent f045d3c commit 73a27ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hide/comp/FileSelect.hx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ class FileSelect extends Component {
path = ide.getClipboard();
onChange();
}},
{ label : "Open in explorer", enabled : fpath != null, click : function() Sys.command("explorer.exe",["/select,"+fpath.split("/").join("\\")]) },
{ label : "Open in explorer", enabled : fpath != null, click : function(){
var p = "/select,"+fpath.split("/").join("\\");
trace(p);
Sys.command("explorer.exe",[p]);
} },
]);
return false;
}
Expand Down

0 comments on commit 73a27ca

Please sign in to comment.