mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Merge b62f345efe into bc40ec8a5a
This commit is contained in:
commit
ab3c34476c
1 changed files with 14 additions and 8 deletions
|
|
@ -55,15 +55,21 @@ local function main()
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
toolbar:CreateButton("Sync In", "Sync into Roblox Studio", Config.icons.syncIn)
|
local function syncIn()
|
||||||
.Click:Connect(function()
|
|
||||||
checkUpgrade()
|
checkUpgrade()
|
||||||
|
|
||||||
pluginInstance:syncIn()
|
pluginInstance:syncIn()
|
||||||
:catch(function(err)
|
:catch(function(err)
|
||||||
warn(err)
|
warn(err)
|
||||||
end)
|
end)
|
||||||
end)
|
end
|
||||||
|
|
||||||
|
local dShort = "Sync In"
|
||||||
|
local dLong = "Sync into Roblox Studio"
|
||||||
|
|
||||||
|
toolbar:CreateButton(dShort, dLong, Config.icons.syncIn).Click:Connect(syncIn)
|
||||||
|
|
||||||
|
plugin:CreatePluginAction("RojoSyncIn", dShort, dLong).Triggered:Connect(syncIn)
|
||||||
|
|
||||||
toolbar:CreateButton("Toggle Polling", "Poll server for changes", Config.icons.togglePolling)
|
toolbar:CreateButton("Toggle Polling", "Poll server for changes", Config.icons.togglePolling)
|
||||||
.Click:Connect(function()
|
.Click:Connect(function()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue