mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-25 19:58:21 +01:00
quit app when service is closed
This commit is contained in:
parent
e45e8dd5b1
commit
6aa49c4af9
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@
|
|||||||
"dependencies": [
|
"dependencies": [
|
||||||
"Antunnel@0.1.8-a"
|
"Antunnel@0.1.8-a"
|
||||||
],
|
],
|
||||||
"version":"0.1.6-a",
|
"version":"0.1.7-a",
|
||||||
"category":"Other",
|
"category":"Other",
|
||||||
"iconclass":"fa fa-android",
|
"iconclass":"fa fa-android",
|
||||||
"mimes":["none"],
|
"mimes":["none"],
|
||||||
|
Binary file not shown.
@ -85,6 +85,7 @@ class SysmondService extends OS.application.BaseService
|
|||||||
awake: () ->
|
awake: () ->
|
||||||
|
|
||||||
cleanup: () ->
|
cleanup: () ->
|
||||||
|
@app.quit() if @app
|
||||||
@sub.close() if @sub
|
@sub.close() if @sub
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"dependencies": [
|
"dependencies": [
|
||||||
"Antunnel@0.1.8-a"
|
"Antunnel@0.1.8-a"
|
||||||
],
|
],
|
||||||
"version":"0.1.6-a",
|
"version":"0.1.7-a",
|
||||||
"category":"Other",
|
"category":"Other",
|
||||||
"iconclass":"fa fa-android",
|
"iconclass":"fa fa-android",
|
||||||
"mimes":["none"],
|
"mimes":["none"],
|
||||||
|
@ -235,8 +235,8 @@
|
|||||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/README.md",
|
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/README.md",
|
||||||
"category": "Other",
|
"category": "Other",
|
||||||
"author": "",
|
"author": "",
|
||||||
"version": "0.1.6-a",
|
"version": "0.1.7-a",
|
||||||
"dependencies": ["Antunnel@0.1.8-a"],"version":"0.1.6-a","category":"Other","iconclass":"fafa-android","mimes":["none"],
|
"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"
|
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/build/release/SystemControl.zip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user