mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 05:06:29 +00:00
Add plugin feature 'UnstableOpenScriptsExternally'
This commit is contained in:
@@ -33,6 +33,14 @@ local VALUES = {
|
||||
[Environment.Test] = false,
|
||||
},
|
||||
},
|
||||
UnstableOpenScriptsExternally = {
|
||||
type = "BoolValue",
|
||||
values = {
|
||||
[Environment.User] = false,
|
||||
[Environment.Dev] = false,
|
||||
[Environment.Test] = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
local CONTAINER_NAME = "RojoDevSettings" .. Config.codename
|
||||
@@ -144,6 +152,10 @@ function DevSettings:twoWaySyncEnabled()
|
||||
return getValue("UnstableTwoWaySync")
|
||||
end
|
||||
|
||||
function DevSettings:alwaysOpenScriptsExternally()
|
||||
return getValue("UnstableOpenScriptsExternally")
|
||||
end
|
||||
|
||||
function _G.ROJO_DEV_CREATE()
|
||||
DevSettings:createDevSettings()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user