mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-18 03:20:33 -05:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
-- This asset requires OpenSpace to be built with the OPENSPACE_MODULE_SYNC enabled
|
|
|
|
local assetHelper = asset.require("util/asset_helper")
|
|
|
|
asset.syncedResource({
|
|
Name = "Example Single",
|
|
Type = "UrlSynchronization",
|
|
Identifier = "example_single",
|
|
Url = "http://celestrak.com/NORAD/elements/geo.txt"
|
|
})
|
|
|
|
asset.syncedResource({
|
|
Name = "Example Multiple",
|
|
Type = "UrlSynchronization",
|
|
Identifier = "example_multiple",
|
|
Url = {
|
|
"http://celestrak.com/NORAD/elements/stations.txt",
|
|
"http://celestrak.com/NORAD/elements/gps-ops.txt",
|
|
}
|
|
})
|
|
|
|
asset.syncedResource({
|
|
Name = "Example Large",
|
|
Type = "UrlSynchronization",
|
|
Identifier = "example_large",
|
|
Url = "http://ipv4.download.thinkbroadband.com/100MB.zip",
|
|
Override = true
|
|
})
|
|
|
|
asset.syncedResource({
|
|
Name = "Example Medium",
|
|
Type = "UrlSynchronization",
|
|
Identifier = "example_medium",
|
|
Url = "http://ipv4.download.thinkbroadband.com/5MB.zip",
|
|
Override = true
|
|
})
|
|
|
|
asset.syncedResource({
|
|
Name = "Example No ident",
|
|
Type = "UrlSynchronization",
|
|
Url = "http://ipv4.download.thinkbroadband.com/5MB.zip"
|
|
})
|