diff --git a/application/pages/instance/VersionPage.cpp b/application/pages/instance/VersionPage.cpp
index 8ca559344..20298117b 100644
--- a/application/pages/instance/VersionPage.cpp
+++ b/application/pages/instance/VersionPage.cpp
@@ -43,6 +43,7 @@
#include "icons/IconList.h"
#include "Exception.h"
#include "Version.h"
+#include "DesktopServices.h"
#include
#include
@@ -507,6 +508,16 @@ void VersionPage::on_actionInstall_LiteLoader_triggered()
}
}
+void VersionPage::on_actionLibrariesFolder_triggered()
+{
+ DesktopServices::openDirectory(m_inst->getLocalLibraryPath(), true);
+}
+
+void VersionPage::on_actionMinecraftFolder_triggered()
+{
+ DesktopServices::openDirectory(m_inst->gameRoot(), true);
+}
+
void VersionPage::versionCurrent(const QModelIndex ¤t, const QModelIndex &previous)
{
currentIdx = current.row();
diff --git a/application/pages/instance/VersionPage.h b/application/pages/instance/VersionPage.h
index 5ffd32f58..769fe997c 100644
--- a/application/pages/instance/VersionPage.h
+++ b/application/pages/instance/VersionPage.h
@@ -66,6 +66,9 @@ private slots:
void on_actionCustomize_triggered();
void on_actionDownload_All_triggered();
+ void on_actionMinecraftFolder_triggered();
+ void on_actionLibrariesFolder_triggered();
+
void updateVersionControls();
private:
diff --git a/application/pages/instance/VersionPage.ui b/application/pages/instance/VersionPage.ui
index 32111aa5c..718ad067d 100644
--- a/application/pages/instance/VersionPage.ui
+++ b/application/pages/instance/VersionPage.ui
@@ -95,6 +95,10 @@
+
+
+
+
@@ -223,6 +227,22 @@
Download the files needed to launch the instance now.
+
+
+ Open .minecraft
+
+
+ Open the instance's .minecraft folder.
+
+
+
+
+ Open libraries
+
+
+ Open the instance's local libraries folder.
+
+