Skip to content

Commit fd60377

Browse files
author
arch
committed
add open config dir button
1 parent 1768e9f commit fd60377

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contrib/Installer/assets/main.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
processHandle = nil
3+
processHandleConfigDir = nil
34
scriptIdx = 0
45
status = "MTFG not running"
56

@@ -93,4 +94,8 @@ function gui()
9394
start_funscript_generator()
9495
end
9596
end
97+
ofs.SameLine()
98+
if ofs.Button("Open Config Directory") then
99+
processHandleConfigDir = ofs.CreateProcess("explorer.exe", ofs.ExtensionDir().."\\funscript-editor\\funscript_editor\\config")
100+
end
96101
end

0 commit comments

Comments
 (0)