mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Support uninstalling applications.
This commit is contained in:
@@ -135,6 +135,14 @@ module.exports = function ControlServiceFactory(
|
||||
return tx
|
||||
})
|
||||
}
|
||||
|
||||
this.uninstall = function(pkg) {
|
||||
var tx = TransactionService.create(target)
|
||||
socket.emit('device.uninstall', channel, tx.channel, {
|
||||
package: pkg
|
||||
})
|
||||
return tx
|
||||
}
|
||||
}
|
||||
|
||||
controlService.create = function(target, channel) {
|
||||
|
||||
Reference in New Issue
Block a user