diff --git a/UtilityScripts/EditPath.lua b/UtilityScripts/EditPath.lua deleted file mode 100644 index 0ad5c92..0000000 --- a/UtilityScripts/EditPath.lua +++ /dev/null @@ -1,5 +0,0 @@ -local info = debug.getinfo(1,'S'); -script_path = info.source:match[[^@?(.*[\/])[^\/]-$]] -loadfile(script_path .. "../lib/reacoma.lua")() - -reacoma.paths.set_reacoma_path() diff --git a/UtilityScripts/WipeStates.lua b/UtilityScripts/WipeStates.lua deleted file mode 100644 index e36fa32..0000000 --- a/UtilityScripts/WipeStates.lua +++ /dev/null @@ -1,12 +0,0 @@ -local info = debug.getinfo(1,'S'); -local script_path = info.source:match[[^@?(.*[\/])[^\/]-$]] --- loadfile(script_path .. "../lib/reacoma.lua")() - --- -- A script for getting rid of all FluCoMa related variables stored in the state table -- --- for k, v in pairs(reacoma.params.archetype) do --- for i, j in pairs(v) do --- reaper.DeleteExtState(v.name, i, true) --- end --- end - -reaper.DeleteExtState("reacoma", "version_warned", true) \ No newline at end of file diff --git a/UtilityScripts/CleanPath.lua b/UtilityScripts/clean_path.lua similarity index 100% rename from UtilityScripts/CleanPath.lua rename to UtilityScripts/clean_path.lua diff --git a/lib/reacoma.lua b/lib/reacoma.lua index cdd4964..104ba7f 100644 --- a/lib/reacoma.lua +++ b/lib/reacoma.lua @@ -58,29 +58,4 @@ if reacoma.paths.sanity_check() == false then end -- Store the path in a known place -reacoma.settings.path = reacoma.paths.get_reacoma_path() - --- Check for versions -local get_version = reacoma.utils.wrap_quotes( - reacoma.settings.path .. "/fluid-noveltyslice" -) .. " -v" - --- Get the current version by capturing the output of the -v flag -local installed_tools_version = reacoma.utils.capture(get_version) - --- Find out if the dependency string matches the version of the cli --- From this we can deduce a sort of minimum version -local valid_version = installed_tools_version:find(reacoma.dep) - --- Check that the version of installed tools matches the marked version in the code -if not reacoma.bypass_version then - if valid_version < 1 then - local retval = reaper.ShowMessageBox( - "The version of ReaCoMa is not tested with the currently installed command-line tools version and may fail or produce undefined behaviour. \n\nReaCoMa can take you to the download page by clicking OK, or you can move on by clicking Cancel. Alternatively, to disable this message forever change reacoma.bypass_version in config.lua to true.", - "Version Incompatability", 1) - if retval == 1 then - reacoma.utils.open_browser("https://www.flucoma.org/download/") - end - reacoma.settings.fatal = false -- for now everything is fine, we dont need to test versions that thoroughly anymore - end -end +reacoma.settings.path = reacoma.paths.get_reacoma_path() \ No newline at end of file