Skip to content

Installtypes: library

PentagonLP edited this page May 20, 2025 · 1 revision

This page explains the installtype "library"

What is it for?

"library" is made to install libraries that only consist of a single file. This file will be downloaded and dropped of in the "/lib"-folder.

What values does it take?

...
install = {
        type = "library",
        url = "<URL to the file of the library>",
	filename = "<Name of the file in the /lib-folder>"
    }
...

URL to the file of the library: The one and only file of the library must be hosted publicly somewhere on the internet (eg. on Github, Pastebin,...) for ccpt to download. The URL that is given with this parameter leads to that file.

Name of the file in the /lib-folder: The downloaded library file will be stored in "/lib/<filename>". "<filename>" is given with this parameter. Please make sure that this filename isn't already used by another package! Otherwise, the older one will be overwritten.

Example(s)

Clone this wiki locally