From e079d75fabdde8244bada41ed5ca4f4034103027 Mon Sep 17 00:00:00 2001 From: Kodi Craft Date: Tue, 25 Mar 2025 17:45:55 +0100 Subject: [PATCH] Add debug print --- install.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.lua b/install.lua index 13c4af8..aca5a4f 100644 --- a/install.lua +++ b/install.lua @@ -12,6 +12,11 @@ function log.info(value) print("[I] " .. value) end +--- @param value string +function log.debug(value) + print("[D] " .. value) +end + --- @param value string function log.error(value) printError("[E] " .. value) @@ -28,6 +33,7 @@ local function main() shafile.close() sharequest.close() end + log.debug(package.path) local hash = require("sha256") log.info("Downloading index file")