This commit is contained in:
p2vman 2025-04-26 16:19:54 +03:00
parent d46c11b3a8
commit bc0f759850
1 changed files with 2 additions and 2 deletions

View File

@ -3,14 +3,14 @@
Supports multiple repositories, dependency resolution, index and package caching. Supports multiple repositories, dependency resolution, index and package caching.
]] ]]
local PKG = {} local CKG = {}
local INSTALL_DIR = "/ckg" local INSTALL_DIR = "/ckg"
local CACHE_DIR = fs.combine(INSTALL_DIR, "cache") local CACHE_DIR = fs.combine(INSTALL_DIR, "cache")
local REPO_CACHE_DIR = fs.combine(CACHE_DIR, "repos") local REPO_CACHE_DIR = fs.combine(CACHE_DIR, "repos")
local CONFIG_FILE = fs.combine(INSTALL_DIR, "config.txt") local CONFIG_FILE = fs.combine(INSTALL_DIR, "config.txt")
local DEFAULT_REPOS = { local DEFAULT_REPOS = {
"https://example.com/repo/packages.json" "http://193.23.220.51:3000/p2vman/cpkg/raw/branch/main/packages.json"
} }
local function load_config() local function load_config()