mirror of
https://github.com/LDDestroier/CC/
synced 2024-11-17 15:24:52 +00:00
Update mtape.lua
Fixed label not applying when downloading from GitHub
This commit is contained in:
parent
c2a186c3fd
commit
47651b1371
@ -2,7 +2,7 @@
|
||||
-- tape managing program
|
||||
-- made by LDDestroier
|
||||
|
||||
local _DEBUG = false
|
||||
local _DEBUG = true
|
||||
|
||||
local function checkOption(argName, argInfo, isShort)
|
||||
for i = 1, #argInfo do
|
||||
@ -336,6 +336,7 @@ end
|
||||
|
||||
if getFromGithub then
|
||||
print("Pulling from CC-Media.")
|
||||
tapeName = arguments[1]
|
||||
fileName = "https://github.com/LDDestroier/CC-Media/raw/master/DFPWM/" .. getFromGithub .. ".dfpwm"
|
||||
end
|
||||
|
||||
@ -373,6 +374,7 @@ else
|
||||
end
|
||||
|
||||
write("Writing...")
|
||||
|
||||
success = writeToTape(tape, contents, tapeName)
|
||||
if success then
|
||||
print("\n" .. success)
|
||||
|
Loading…
Reference in New Issue
Block a user