define pocket global in craftos-pc environment pocket application

This commit is contained in:
Mikayla Fischler
2025-04-19 00:16:43 -04:00
parent 97875f4e52
commit 592f1110ed

View File

@@ -2,8 +2,10 @@
-- SCADA System Access on a Pocket Computer
--
---@diagnostic disable-next-line: undefined-global
local _is_pocket_env = pocket or periphemu -- luacheck: ignore pocket
---@diagnostic disable-next-line: undefined-global, lowercase-global
pocket = pocket or periphemu -- luacheck: ignore pocket
local _is_pocket_env = pocket
require("/initenv").init_env()