Handle auth tokens with insufficient permissions
This commit is contained in:
1 parent
d6cc192775
commit
fe30fb6cef
6 files changed
+40
-15
No files matched your search
@@ -15,16 +15,16 @@ function Init() as void
|
||||
end function
|
||||
|
||||
function GetPlayletLibUrls() as object
|
||||
savedUrls = GetPlayletLibUrlsFromRegistry()
|
||||
if savedUrls <> invalid
|
||||
m.shouldClearRegistryOnLoadFail = true
|
||||
return savedUrls
|
||||
end if
|
||||
|
||||
#if DEBUG
|
||||
debug = { type: "debug", link: ReadManifestValue("playlet_lib_debug_url") }
|
||||
return [debug]
|
||||
#else
|
||||
savedUrls = GetPlayletLibUrlsFromRegistry()
|
||||
if savedUrls <> invalid
|
||||
m.shouldClearRegistryOnLoadFail = true
|
||||
return savedUrls
|
||||
end if
|
||||
|
||||
github = { type: "github", link: ReadManifestValue("playlet_lib_remote_url") }
|
||||
embedded = { type: "embedded", link: ReadManifestValue("playlet_lib_embedded_url") }
|
||||
return [github, embedded]
|
||||
|
||||
Reference in new issue
Block a user