A “file” is anything that you install to the file system of an Android device. While keeping in mind that all apps are files, any non-app file should be labeled a “file” while apps are labeled “app”.
# Replace [[files]] name = "example_file" url = "https://example.com/files/Example.ttf" destination = "/system/fonts/Example.ttf" [[files.androidversion]] number = "5.1"
All File Parameters
|name||Required. A unique identifier not used by other files.|
|url||Required. A URL where the file can be downloaded from.|
|destination||Required. The location on the Android file system where this file should be placed.|
|md5||The expected |
|sha1||The expected |
|sha256||The expected |
|mode||The numeric file system permissions to set on the file. Defaults to |
|remove_files||A list (array) of paths to delete when this file is installed and when the system is updated. Same as using |
|install_remove_files||A list (array) of paths to delete only when this file is installed. Useful for anything that may conflict with this file but is not expected to reappear after an update.|
|update_remove_files||A list (array) of paths to delete on system update. Useful for making sure a system file stays removed across updates.|