瀏覽代碼

cleaner default source list

master
XeonSquared 3 年之前
父節點
當前提交
4e64a55169
共有 2 個檔案被更改,包括 1 行新增4 行删除
  1. +0
    -3
      cfg/pkg/sources.cfg
  2. +1
    -1
      lib/pkgman.lua

+ 0
- 3
cfg/pkg/sources.cfg 查看文件

@@ -1,3 +0,0 @@
{main={path="https://oc.shadowkat.net/psychos/pkg",
cache=true,
name="main"}}

+ 1
- 1
lib/pkgman.lua 查看文件

@@ -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)


Loading…
取消
儲存