Skip to content

Commit

Permalink
- Forgot to add the redirection to the ReaPack's Website if the user …
Browse files Browse the repository at this point in the history
…doesn't have one lol.
  • Loading branch information
Zly-u committed Feb 16, 2024
1 parent ead117d commit e06cac3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
17 changes: 16 additions & 1 deletion MIDI/MIDI_To_Items/Zly_MIDI_To_Items.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
-- @noindex

local function URL_Openner(URL)
local OS = ({
Win32 = "start",
Win64 = "start",
OSX32 = "open",
OSX64 = "open",
["macOS-arm64"] = "open",

Other = "start",
})[reaper.GetOS()]

os.execute(OS .. " " .. URL)
end

local function MultLineStringConstructor(...)
local strings_array = {...}
local compiled_string = ""
Expand Down Expand Up @@ -60,9 +74,10 @@ local DepsChecker = {
local reapack_error = MultLineStringConstructor(
"Someone told me you don't have ReaPack to get the deps from...",
"After closing this window I will open the Official ReaPack website",
"for you to download it from :)"
"\"https://reapack.com/\" for you to download it from :)"
)
reaper.MB(reapack_error, "What the hell...", 0)
URL_Openner("https://reapack.com/")
return false
end

Expand Down
6 changes: 2 additions & 4 deletions MIDI/meta_MIDI_To_Items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@metapackage
@description MIDI To Items Converter
@author Zly
@version 2.4
@version 2.4.1
@provides
[main] .\MIDI_To_Items\Zly_MIDI_To_Items.lua
@about
Expand All @@ -24,7 +24,5 @@
@donation
Donate https://boosty.to/zly
@changelog
- Improved algorithm so it's much more faster.
- Added option for Disabling Interactive Generation (improves performance)
- Implemented Deps checker.
- Forgot to add the redirection to the ReaPack's Website if the user doesn't have one lol.
--]]

0 comments on commit e06cac3

Please sign in to comment.