From 33f7f1a681f56079d1353b9084ecf3b1bb9f6dc4 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Fri, 26 Jan 2018 19:10:00 +0100 Subject: [PATCH] packages metadatas --- src/core/gui.coffee | 2 +- src/packages/ActivityMonitor/package.json | 2 +- src/packages/DummyApp/package.json | 2 +- src/packages/wTerm/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/gui.coffee b/src/core/gui.coffee index 3bfacf9..11fcccd 100644 --- a/src/core/gui.coffee +++ b/src/core/gui.coffee @@ -72,7 +72,7 @@ self.OS.GUI = return false return false - f m, i for m, i in mimes + ( f m, i if m ) for m, i in mimes return apps openWith: (it) -> diff --git a/src/packages/ActivityMonitor/package.json b/src/packages/ActivityMonitor/package.json index fa72f40..e6d5b27 100644 --- a/src/packages/ActivityMonitor/package.json +++ b/src/packages/ActivityMonitor/package.json @@ -9,5 +9,5 @@ "version":"0.1a", "category":"System", "iconclass":"fa fa-heartbeat", - "mimes":["*"] + "mimes":["none"] } \ No newline at end of file diff --git a/src/packages/DummyApp/package.json b/src/packages/DummyApp/package.json index fddc6e2..645b13a 100644 --- a/src/packages/DummyApp/package.json +++ b/src/packages/DummyApp/package.json @@ -11,5 +11,5 @@ "version":"0.1a", "category":"System", "iconclass":"fa fa-user-circle-o", - "mimes":["*"] + "mimes":[".*"] } \ No newline at end of file diff --git a/src/packages/wTerm/package.json b/src/packages/wTerm/package.json index 9862bd5..85ec2ce 100644 --- a/src/packages/wTerm/package.json +++ b/src/packages/wTerm/package.json @@ -9,5 +9,5 @@ "version":"0.1a", "category":"System", "iconclass":"fa fa-terminal", - "mimes":["*"] + "mimes":["none"] } \ No newline at end of file