Adapt clean up for installed APK

The cleanup process is slightly different when the server is installed
rather than pushed.
This commit is contained in:
Romain Vimont
2022-07-03 01:15:28 +02:00
parent c0e00c485b
commit b4e714f77d
4 changed files with 37 additions and 10 deletions

View File

@@ -316,6 +316,10 @@ execute_server(struct sc_server *server,
// By default, power_on is true
ADD_PARAM("power_on=false");
}
if (params->install) {
// By default, installed is false
ADD_PARAM("installed=true");
}
#undef ADD_PARAM