-
Notifications
You must be signed in to change notification settings - Fork 0
Platform
APHONIC edited this page Sep 15, 2026
·
2 revisions
Platform.lua: platform and PC storefront detection.
Returns "PC", "Xbox", "PlayStation 4", "PlayStation 5", or nil for anything unrecognized.
label:SetText("Running on " .. (LibAPH.GetPlatformString() or "unknown platform"))PC only: returns "Steam", "Epic", "ZOS", or "DMM". Returns nil on console and for an unrecognized service.
local platform = LibAPH.GetPlatformString()
local service = LibAPH.GetPlatformServiceName()
d(service and (platform .. " (" .. service .. ")") or platform)
-- "PC (Steam)" or "Xbox"Note
ESO addons has no OS-level access.