You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
ifthelastitemoftExtensionPathis not"lce"thenreturn __extensionError(pCacheIndex,"Could not install extension. The package extension '"&thelastitemoftExtensionPath&"' Is not valid. Must be 'lce'.")
364
364
365
-
# Get initial manifest data needed for loading
366
-
localtManifestData, tManifestXMLTree
367
-
put __extensionManifestData(pCacheIndex) intotManifestData
368
-
put revXMLCreateTree(tManifestData,true,true,false) intotManifestXMLTree
369
-
370
-
# Check the manifest contains a name
371
-
localtExtensionName
372
-
put __extensionManifestValueFromTree(tManifestXMLTree, "name") intotExtensionName
return __extensionError(pCacheIndex,"Could not install extension. The package manifest must contain a valid name (com.livecode.extensions.<developer_ID>.<extension_name>)")
put __extensionManifestValueFromTree(tManifestXMLTree, "version") intotExtensionVersion
381
-
iftheresultis notemptythen
382
-
return __extensionError(pCacheIndex,"Could not install extension. The package manifest must contain a valid version number (1.2.3 - major,minor,maintenance)")
put __extensionPropertyGet(pCacheIndex, "download_package_path") intotExtensionPackageFile
1353
-
1354
-
if not there is afiletExtensionPackageFilethenreturn __extensionError(pCacheIndex,"Could not extract manifest because package was not found in downloads folder")
1355
-
1356
-
# A zip can come compressed with a base folder or without. So work out what the
0 commit comments