-
Notifications
You must be signed in to change notification settings - Fork 0
Uninstall Scripts
Perodactyl edited this page Jan 9, 2022
·
1 revision
An uninstall script runs when you uninstall an app, before it is removed from the filesystem. These scripts are functions defined in the main
file of your app. The function's name must be uninstall_mod_
followed by the name of your app, with spaces switched for underscores. This means names containing special characters are not able to have uninstall scripts. Here is an example.
function uninstall_mod_teddy_bear(){ //Uninstall script for mod named "teddy bear"
alert("Nooo! Teddy bear! Don't Go!")
}