2022-01-29 17:33:32 +01:00
|
|
|
# Links
|
2021-08-12 17:36:22 +02:00
|
|
|
|
2022-01-29 17:33:32 +01:00
|
|
|
AddonScript uses links to point to specific files. AddonScript specifies three link types, which can be used
|
2021-08-12 17:36:22 +02:00
|
|
|
to point to files.
|
|
|
|
|
|
|
|
## http(s)
|
2021-11-14 00:25:43 +01:00
|
|
|
|
|
|
|
`https://example.com/file.jar`
|
2021-08-12 17:36:22 +02:00
|
|
|
|
2022-01-29 17:33:32 +01:00
|
|
|
This link type is mostly self-explaining. It is just a simple http or https URL, which points to
|
2021-08-12 17:36:22 +02:00
|
|
|
a file on a http server.
|
|
|
|
|
|
|
|
## file
|
2021-11-14 00:25:43 +01:00
|
|
|
|
|
|
|
`./relative/path/to/file.jar`
|
2021-08-12 17:36:22 +02:00
|
|
|
|
2022-02-16 23:27:55 +01:00
|
|
|
This is a relative path to a file. It can only be used with [packaging](../packaging/README.md)
|
2021-08-12 17:36:22 +02:00
|
|
|
or in some third-party environments, which are not covered by this specification.
|