quit app when service is closed

This commit is contained in:
lxsang 2021-01-15 20:45:45 +01:00
parent e45e8dd5b1
commit 6aa49c4af9
6 changed files with 6 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
"dependencies": [
"Antunnel@0.1.8-a"
],
"version":"0.1.6-a",
"version":"0.1.7-a",
"category":"Other",
"iconclass":"fa fa-android",
"mimes":["none"],

View File

@ -85,6 +85,7 @@ class SysmondService extends OS.application.BaseService
awake: () ->
cleanup: () ->
@app.quit() if @app
@sub.close() if @sub

View File

@ -13,7 +13,7 @@
"dependencies": [
"Antunnel@0.1.8-a"
],
"version":"0.1.6-a",
"version":"0.1.7-a",
"category":"Other",
"iconclass":"fa fa-android",
"mimes":["none"],

View File

@ -235,8 +235,8 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/README.md",
"category": "Other",
"author": "",
"version": "0.1.6-a",
"dependencies": ["Antunnel@0.1.8-a"],"version":"0.1.6-a","category":"Other","iconclass":"fafa-android","mimes":["none"],
"version": "0.1.7-a",
"dependencies": ["Antunnel@0.1.8-a"],"version":"0.1.7-a","category":"Other","iconclass":"fafa-android","mimes":["none"],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/build/release/SystemControl.zip"
},
{