Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 5d7e8a5

Browse files
committed
[[ LCS Extensions ]] Fix dependencies for extensions
1 parent 20c077a commit 5d7e8a5

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

extensions/script-libraries/dropbox/dropbox.livecodescript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ on extensionInitialize
2828

2929
if the environment contains "development" then
3030
set the _ideoverride of me to true
31+
local tName
32+
put the short name of me into tName
33+
revSBAddDependencyForInclusion "extensions", tName, "scriptLibraries", "Internet"
3134
end if
35+
3236
end extensionInitialize
3337

3438
on extensionFinalize

extensions/script-libraries/oauth2/oauth2.livecodescript

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ on extensionInitialize
2626

2727
if the environment contains "development" then
2828
set the _ideoverride of me to true
29-
revSBAddDependencyForInclusion "scriptLibraries", "OAuth2", "externals", "mergJSON"
29+
local tName
30+
put the short name of me into tName
31+
revSBAddDependencyForInclusion "extensions", tName, "scriptLibraries", "Internet"
32+
revSBAddDependencyForInclusion "extensions", tName, "externals", "mergJSON"
33+
revSBAddDependencyForInclusion "extensions", tName, "extensions", "com.livecode.widget.browser"
3034
end if
3135
end extensionInitialize
3236

0 commit comments

Comments
 (0)