Enable STFService version check again.

This commit is contained in:
Simo Kinnunen
2014-04-01 22:15:10 +09:00
parent 3e59df330e
commit 64d4782436
2 changed files with 1 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ module.exports = syrup.serial()
var log = logger.createLogger('device:resources:service')
var resource = {
requiredVersion: '~0.2.0'
requiredVersion: '0.3.0'
, pkg: 'jp.co.cyberagent.stf'
, main: 'jp.co.cyberagent.stf.InputAgent'
, apk: pathutil.vendor('STFService/STFService.apk')
@@ -54,10 +54,6 @@ module.exports = syrup.serial()
.timeout(10000)
.then(function(buffer) {
var version = buffer.toString()
throw new Error(util.format(
'Incompatible version %s'
, version
))
if (semver.satisfies(version, resource.requiredVersion)) {
return installedPath
}