mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Add screenshots to UI. Still need to implement resizing.
This commit is contained in:
@@ -47,10 +47,10 @@ module.exports = syrup.serial()
|
||||
router.on(wire.ScreenCaptureMessage, function(channel) {
|
||||
var reply = wireutil.reply(options.serial)
|
||||
plugin.capture()
|
||||
.then(function(url) {
|
||||
.then(function(file) {
|
||||
push.send([
|
||||
channel
|
||||
, reply.okay(url)
|
||||
, reply.okay('success', file)
|
||||
])
|
||||
})
|
||||
.catch(function(err) {
|
||||
|
||||
Reference in New Issue
Block a user