Add "Open Data Folder" to Interface menu

This commit is contained in:
Luke Street
2026-05-09 20:57:34 -06:00
parent 7562486449
commit 0c23bd4332
4 changed files with 48 additions and 22 deletions
+9
View File
@@ -7,6 +7,14 @@
#include <filesystem>
#if defined(_WIN32) || \
(defined(__APPLE__) && !TARGET_OS_IOS && !TARGET_OS_TV && !TARGET_OS_MACCATALYST) || \
(defined(__linux__) && !defined(__ANDROID__))
#define DUSK_CAN_OPEN_DATA_FOLDER 1
#else
#define DUSK_CAN_OPEN_DATA_FOLDER 0
#endif
namespace dusk {
extern bool IsRunning;
extern bool IsShuttingDown;
@@ -22,6 +30,7 @@ namespace dusk {
#endif
void RequestRestart() noexcept;
bool OpenDataFolder();
}
#endif // DUSK_MAIN_H