Skip to content

Commit

Permalink
if pack dl is too large to unzip (2gb), dl through user browser instead
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 28, 2019
1 parent 56c5d61 commit 564e041
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Themes/Til Death/BGAnimations/packlistDisplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,11 @@ local function makePackDisplay(i)
end,
MouseLeftClickMessageCommand = function(self)
if isOver(self) then
packinfo:DownloadAndInstall(true)
if packinfo:GetSize() > 2000000000 then
GAMESTATE:ApplyGameCommand("urlnoexit," .. packinfo:GetURL())
else
packinfo:DownloadAndInstall(true)
end
end
end
},
Expand Down

0 comments on commit 564e041

Please sign in to comment.