Skip to content

Commit

Permalink
small update
Browse files Browse the repository at this point in the history
  • Loading branch information
James committed Oct 10, 2023
1 parent ab596f0 commit d86e362
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
9 changes: 4 additions & 5 deletions docs/start/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ keywords: [roblox, game, framework, install, tutorial, github, node]
3. Open Roblox Studio, and drag `CanaryStudioPlugin.rbxm` from your download directory into studio.
4. Right click the plugin, and choose `Save as Local Plugin`

### Rojo
### Plugin Permissions

Rojo support is being looked into!
If you install the plugin from the marketplace, you will be asked to give the following permissions:

### TypeScript

We're currently working on definition files; we will not be publishing a package on roblox-ts.
* `raw.githubusercontent.com` - Needed to get file contents of scripts, settings, and packages
* `api.github.com` - Needed to get the latest version of the framework
6 changes: 3 additions & 3 deletions plugin/src/json/structure.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"EngineClient": {
"Packages": {},
"Media": {
"Assets": {
"Models": {},
"Effects": {},
"Animations": {},
Expand All @@ -12,7 +12,7 @@
},
"EngineReplicated": {
"Packages": {},
"Media": {
"Assets": {
"Sounds": {},
"Models": {},
"Animations": {},
Expand All @@ -35,7 +35,7 @@
},
"EngineServer": {
"Packages": {},
"Media": {
"Assets": {
"Models": {},
"Tools": {},
"Effects": {},
Expand Down
5 changes: 3 additions & 2 deletions src/lua/framework/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,9 @@ end
-- Context Specific Functions

function CanaryEngineClient.GetPlayerCharacter(): Types.Character
local Player = PlayerService.LocalPlayer
return Player.Character or Player.CharacterAdded:Wait()
return Future.new(function(player)
return player.Character or player.CharacterAdded:Wait()
end, PlayerService.LocalPlayer)
end

CanaryEngineClient.CreateNetworkController = CreateNetworkController :: (controllerName: string) -> (Network.Client<...any>)
Expand Down

0 comments on commit d86e362

Please sign in to comment.