Skip to content

Commit

Permalink
fix luv in thread not found on android
Browse files Browse the repository at this point in the history
  • Loading branch information
Bauumm committed Jan 2, 2024
1 parent 1a1e8cb commit eaa893f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/overlay/packs/download_thread.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if love.system.getOS() == "Android" then
-- require can't find it on android
package.preload.luv = package.loadlib("libluv.so", "luaopen_luv")
end
local log = require("log")("ui.overlay.packs.download_thread")
local json = require("extlibs.json.json")
local http = require("socket.http")
Expand Down

0 comments on commit eaa893f

Please sign in to comment.