File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ A lightweight **ReaScript + ReaImGui** tool that turns REAPER into a pattern
3737
38381 . ** Dependencies**
3939 * REAPER 7+ (tested on v7.39)
40- * [ SWS Extension] ( https://www.sws-extension.org/ )
41- * [ js_ReaScriptAPI] ( https://forum.cockos.com/showthread.php?t=212174 )
4240 * [ ReaImGui ≥ 0.9.3.3] ( https://github.com/cfillion/reaimgui )
4341
4442
Original file line number Diff line number Diff line change @@ -35,6 +35,15 @@ local reaper = reaper
3535script_path = debug.getinfo (1 , " S" ).source :match [[ ^@?(.*[\/])[^\/]-$]]
3636local modules_path = script_path .. ' Modules/'
3737
38+ -- check dependencies
39+
40+ if not reaper .APIExists (' ImGui_GetVersion' ) then
41+ local text = ' This script requires the ReaImGui extension to run. You can install it through ReaPack.'
42+ reaper .ShowMessageBox (text , ' Error - Missing Dependency' , 0 )
43+ return
44+ end
45+
46+
3847-- requires script_path
3948dofile (script_path .. ' Modules/GUI.lua' )
4049-- requires time_resolution
You can’t perform that action at this time.
0 commit comments