mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
Add plugin feature 'UnstableOpenScriptsExternally'
This commit is contained in:
parent
102c77b23e
commit
91d45afd0f
3 changed files with 79 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue