Universal Script πŸ“Œ
143 Views
273 Executions

Iris UI Loader

Universal Script πŸ“Œ
blud176
blud176First script
3 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

- Loads Iris directly from GitHub as a virtualized module, so treat it as module. - Note: Initial execution takes time due to sequential HTTP requests. - Session-based runtime cache (clears on environment reset; getgenv).

View Raw

-- This code is probably compatible only with Iris
-- So don't append any changes to it
-- (If you want it to work)

--//=====================    LOADER    \\======================--
-- { child: string, parent: string? }
local DIRECTORY: { { string? } } = { 
    {"API.lua", nil},
    {"Internal.lua", nil},
    {"PubTypes.lua", nil},
    {"Types.lua", nil},
    {"WidgetTypes.lua", nil},
    {"config.lua", nil},
    {"demoWindow.lua", nil},
    {"init.lua", nil},

    {"Tab.lua", "widgets"},
    {"Text.lua", "widgets"},
    {"Checkbox.lua", "widgets"},
    {"Root.lua", "widgets"},
    {"Window.lua", "widgets"},
    {"Table.lua", "widgets"},
    {"Input.lua", "widgets"},
    {"Format.lua", "widgets"},
    {"Combo.lua", "widgets"},
    {"Tree.lua", "widgets"},
    {"RadioButton.lua", "widgets"},
    {"init.lua", "widgets"},
    {"Image.lua", "widgets"},
    {"Plot.lua", "widgets"},
    {"Menu.lua", "widgets"},
    {"Button.lua", "widgets"}
}

-- cross-compatibility const
local OWNER: string = "SirMallard"
local REPO: string = "Iris"

local function get_repo_file(owner: string, repo: string, path: string)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Universal Script πŸ“Œ
27
5
Approved 56 minutes ago
Universal Script πŸ“Œ
4.0k
185.5k
Bumped 8 hours ago
Script hub
757
52
9 hours ago
Universal Script πŸ“Œ
28.9k
674.0k
Bumped 11 hours ago
Script hub
14.1k
2.7k
Bumped 13 hours ago
Key System
Paid