Skip to content

Commit

Permalink
Update Grin version
Browse files Browse the repository at this point in the history
Fixes issues with uncompressed zips
  • Loading branch information
ElvishJerricco committed Mar 20, 2015
1 parent eec65e5 commit 19afcb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/grin-setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local grinDir = shell.resolve("/"..fs.combine(fs.getDir(shell.getRunningProgram(

local grinPackagePath = "/" .. fs.combine(grinDir, "packages/Team-CC-Corp/Grin/")
local grinInstallPath = "/" .. fs.combine(grinPackagePath, "1.2.1")
shell.run("pastebin", "run", "VuBNx3va", "-u", "Team-CC-Corp", "-r", "Grin", "-t", "1.2.1", grinInstallPath)
shell.run("pastebin", "run", "VuBNx3va", "-u", "Team-CC-Corp", "-r", "Grin", "-t", "1.2.2", grinInstallPath)
local githubApiResponse = assert(http.get("https://api.github.com/repos/Team-CC-Corp/Grin/releases"))
assert(githubApiResponse.getResponseCode() == 200, "Failed github response")
local fh = fs.open(fs.combine(grinPackagePath, "releases.json"), "w")
Expand All @@ -11,4 +11,4 @@ fh.close()

shell.run(fs.combine(grinDir, "bin/grin-startup.lua"))

print("It is recommended that your startup file run grin/bin/grin-startup.lua")
print("It is recommended that your startup file run grin/bin/grin-startup.lua")

0 comments on commit 19afcb1

Please sign in to comment.