|
|
@@ -11,7 +11,7 @@ require "pkgfs" |
|
|
|
|
|
|
|
local function getSources() |
|
|
|
local f = io.open(pkg.sourcePath,"rb") |
|
|
|
if not f then return {} end |
|
|
|
if not f then return {main={path="https://oc.shadowkat.net/psychos/pkg",cache=true,name="main"}} end |
|
|
|
local c = f:read("*a") |
|
|
|
f:close() |
|
|
|
return serial.unserialize(c) |
|
|
|