Fix Open Scripts Null for Linked and Effect Scripts

This commit is contained in:
Kam committed 2025-03-06 02:44:07 -05:00
1 parent 8ae4ae26dc
commit c5093b3227
3 files changed
+5 -14

No files matched your search

@@ -79,6 +79,11 @@ public class NoppesUtil {
}
public static void openFolder(File dir){
if (dir == null || !dir.exists() || !dir.isDirectory()) {
// Log an error or simply return if there's nothing to open
return;
}
String s = dir.getAbsolutePath();
if (Util.getOSType() == Util.EnumOS.OSX)