fix(game-launcher): use cc from PATH instead of /usr/bin/cc for NixOS support (#186)
Co-authored-by: Ahmed5Emad <ahmed5emad@users.noreply.github.com>
This commit is contained in:
@@ -36,7 +36,7 @@ local function ensureGames(cb)
|
||||
return
|
||||
end
|
||||
if not noctalia.fileExists(binary) then
|
||||
local ok = noctalia.runAsync("/usr/bin/cc -o " .. binary .. " " .. cSource .. " -lsqlite3", function(res)
|
||||
local ok = noctalia.runAsync("cc -o " .. binary .. " " .. cSource .. " -lsqlite3", function(res)
|
||||
if res.exitCode == 0 then
|
||||
runScan()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user