load embedded lib if libs are not being served in dev mode
This commit is contained in:
1 parent
7503c2dbd6
commit
84c6d822e2
2 files changed
+7
-2
No files matched your search
@@ -23,7 +23,12 @@ end function
|
|||||||
function GetPlayletLibUrls() as object
|
function GetPlayletLibUrls() as object
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
debug = { type: "debug", link: Manifest.ReadValue("playlet_lib_debug_url") }
|
debug = { type: "debug", link: Manifest.ReadValue("playlet_lib_debug_url") }
|
||||||
return [debug]
|
embedded = { type: "embedded", link: Manifest.ReadValue("playlet_lib_embedded_url") }
|
||||||
|
#if DEBUG_FALLBACK_TO_EMBEDDED
|
||||||
|
return [debug, embedded]
|
||||||
|
#else
|
||||||
|
return [debug]
|
||||||
|
#end if
|
||||||
#else
|
#else
|
||||||
savedUrls = Registry.GetPlayletLibUrlsFromRegistry()
|
savedUrls = Registry.GetPlayletLibUrlsFromRegistry()
|
||||||
if savedUrls <> invalid
|
if savedUrls <> invalid
|
||||||
|
|||||||
@@ -33,4 +33,4 @@ playlet_lib_debug_url=http://DEBUG_HOST_IP_ADDRESS:8086/playlet-lib.zip
|
|||||||
|
|
||||||
git_commit_sha=unknown
|
git_commit_sha=unknown
|
||||||
|
|
||||||
bs_const=DEBUG=false
|
bs_const=DEBUG=false;DEBUG_FALLBACK_TO_EMBEDDED=true
|
||||||
Reference in new issue
Block a user