Skip to content

Commit

Permalink
Merge branch '1.6.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesb93 committed Jul 1, 2021
2 parents 9a32ad0 + 0ed750b commit 0ceb494
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 43 deletions.
5 changes: 0 additions & 5 deletions UtilityScripts/EditPath.lua

This file was deleted.

12 changes: 0 additions & 12 deletions UtilityScripts/WipeStates.lua

This file was deleted.

File renamed without changes.
27 changes: 1 addition & 26 deletions lib/reacoma.lua
Expand Up @@ -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()

0 comments on commit 0ceb494

Please sign in to comment.