Skip to content

Commit

Permalink
- fixed case of not existing reaper.CF_ShellExecute.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zly-u committed Mar 18, 2024
1 parent 0b21f1f commit a7a1e8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Video/VideoAutoFlipper/Zly_VideoAutoFlipper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ local function URL_Openner(URL)
os.execute(OS .. " " .. URL)
end

reaper.CF_ShellExecute = reaper.CF_ShellExecute or URL_Openner

local function SplitString(str, delimiter, max_splits)
max_splits = max_splits or -1

Expand Down Expand Up @@ -429,7 +431,7 @@ end
--[[===================================================]]--

local GUI = {
version = "1.0.2",
version = "1.0.3",
name = "Video Auto-Flipper",

timer = 0.0,
Expand Down

0 comments on commit a7a1e8d

Please sign in to comment.