mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-24 06:34:09 +00:00
- Changed all instances of "Rojo" to "Atlas" in error messages, UI titles, and connection actions for consistent branding. - Updated the sound player widget and patch history recording to reflect the new name. - Enhanced logging in the hydration process to provide better diagnostics for missing virtual instances.
32 lines
701 B
Lua
32 lines
701 B
Lua
if not plugin then
|
|
return
|
|
end
|
|
|
|
local Rojo = script:FindFirstAncestor("Rojo")
|
|
local Packages = Rojo.Packages
|
|
|
|
local Log = require(Packages.Log)
|
|
local Roact = require(Packages.Roact)
|
|
|
|
local Settings = require(script.Settings)
|
|
local Config = require(script.Config)
|
|
local App = require(script.App)
|
|
|
|
Log.setLogLevelThunk(function()
|
|
return Log.Level[Settings:get("logLevel")] or Log.Level.Info
|
|
end)
|
|
|
|
local app = Roact.createElement(App, {
|
|
plugin = plugin,
|
|
})
|
|
local tree = Roact.mount(app, game:GetService("CoreGui"), "Atlas UI")
|
|
|
|
plugin.Unloading:Connect(function()
|
|
Roact.unmount(tree)
|
|
end)
|
|
|
|
if Config.isDevBuild then
|
|
local TestEZ = require(script.Parent.TestEZ)
|
|
|
|
require(script.runTests)(TestEZ)
|
|
end
|