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