diff --git a/creator-tools/src/main/java/com/skcraft/launcher/creator/controller/PackManagerController.java b/creator-tools/src/main/java/com/skcraft/launcher/creator/controller/PackManagerController.java index c05d4c0..d165628 100644 --- a/creator-tools/src/main/java/com/skcraft/launcher/creator/controller/PackManagerController.java +++ b/creator-tools/src/main/java/com/skcraft/launcher/creator/controller/PackManagerController.java @@ -564,6 +564,8 @@ public class PackManagerController { frame.getOpenOutputFolderMenuItem().addActionListener(e -> SwingHelper.browseDir(distDir, frame)); + frame.getOpenWorkspaceFolderMenuItem().addActionListener(e1 -> SwingHelper.browseDir(workspaceDir, frame)); + frame.getOpenLauncherFolderMenuItem().addActionListener(e1 -> SwingHelper.browseDir(launcherDir, frame)); frame.getOpenWebRootMenuItem().addActionListener(e1 -> SwingHelper.browseDir(webRoot, frame)); diff --git a/creator-tools/src/main/java/com/skcraft/launcher/creator/dialog/PackManagerFrame.java b/creator-tools/src/main/java/com/skcraft/launcher/creator/dialog/PackManagerFrame.java index 59742f6..da18962 100644 --- a/creator-tools/src/main/java/com/skcraft/launcher/creator/dialog/PackManagerFrame.java +++ b/creator-tools/src/main/java/com/skcraft/launcher/creator/dialog/PackManagerFrame.java @@ -47,6 +47,7 @@ public class PackManagerFrame extends JFrame { @Getter private final JMenuItem deployServerMenuItem = new JMenuItem("Deploy Server..."); @Getter private final JMenuItem generatePackagesMenuItem = new JMenuItem("Generate packages.json..."); @Getter private final JMenuItem openOutputFolderMenuItem = new JMenuItem("Open Upload Folder"); + @Getter private final JMenuItem openWorkspaceFolderMenuItem = new JMenuItem("Open Workspace Folder"); @Getter private final JMenuItem openLauncherFolderMenuItem = new JMenuItem("Open Test Launcher Folder"); @Getter private final JMenuItem openWebRootMenuItem = new JMenuItem("Open Test Web Server Folder"); @Getter private final JMenuItem openConsoleMenuItem = new JMenuItem("Open Console"); @@ -167,6 +168,7 @@ public class PackManagerFrame extends JFrame { menu = new JMenu("Tools"); menu.setMnemonic('t'); menuBar.add(menu); + menu.add(openWorkspaceFolderMenuItem); menu.add(openLauncherFolderMenuItem); menu.add(openWebRootMenuItem); menu.addSeparator();