fix: 更新安装器版本和默认ROM目录

将安装器版本从0.1.2升级至0.1.3,并将默认ROM目录从/rc更改为/leonos以匹配系统命名规范
This commit is contained in:
2025-09-01 09:54:05 +08:00
parent 67db75b213
commit 3e5824c230
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
_G._HOST = _G._HOST .. " (LeonOS 0.1.2)"
_G._HOST = _G._HOST .. " (LeonOS 0.1.3)"
local fs = rawget(_G, "fs")
_G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/rc") and "/rc" or "/rom"
@@ -34,7 +34,7 @@ local rc = {
_VERSION = {
major = 0,
minor = 1,
patch = 2
patch = 3
},
queueEvent = pull(os, "queueEvent"),
startTimer = pull(os, "startTimer"),

View File

@@ -1,6 +1,6 @@
-- LeonOS installer
local INSTALLER_VERSION = "0.1.2"
local DEFAULT_ROM_DIR = "/rc"
local INSTALLER_VERSION = "0.1.3"
local DEFAULT_ROM_DIR = "/leonos"
print("Start loading LeonOS installer...")
print("[Installer] Loading module 1")