+
+
+"""
+class GPClient extends this.OS.application.BaseApplication
+ constructor: ( args ) ->
+ super "GPClient", args
+
+ main: () ->
+ @setting.clients = [] unless @setting.clients
+ @container = @find("container")
+ @bindKey "CTRL-M", () =>
+ @openDialog new ClientListDialog(), {
+ title: __("Client Manager")
+ }
+ @switchClient()
+
+ switchClient: () ->
+ if @setting.curl
+ @container.src = @setting.curl
+ @scheme.apptitle = @setting.cname
+ else
+ @notify __("No client selected, manager client in menu Options > Client manager")
+
+ menu: () ->
+ [
+ {
+ text: "__(Options)",
+ nodes: [
+ { text: "__(Client manager)", shortcut: "C-M"}
+ ],
+ onchildselect: (e) =>
+ @openDialog new ClientListDialog(), {
+ title: __("Client Manager")
+ }
+ }
+ ]
+
+GPClient.singleton = true
+
+this.OS.register "GPClient", GPClient
\ No newline at end of file
diff --git a/GPClient/package.json b/GPClient/package.json
new file mode 100644
index 0000000..5fb1e98
--- /dev/null
+++ b/GPClient/package.json
@@ -0,0 +1,16 @@
+{
+ "pkgname": "GPClient",
+ "app":"GPClient",
+ "name":"Generic Purpose client",
+ "description":"Generic Purpose client",
+ "info":{
+ "author": "Xuan Sang LE",
+ "email": "mrsang@iohub.dev"
+ },
+ "version":"0.1.0-a",
+ "category":"Internet",
+ "iconclass":"fa fa-globe",
+ "mimes":["none"],
+ "dependencies":[],
+ "locale": {}
+}
\ No newline at end of file
diff --git a/IOMail/project.json b/GPClient/project.json
similarity index 85%
rename from IOMail/project.json
rename to GPClient/project.json
index 87ea05b..cd18b37 100644
--- a/IOMail/project.json
+++ b/GPClient/project.json
@@ -1,5 +1,5 @@
{
- "name": "IOMail",
+ "name": "GPClient",
"css": [],
"javascripts": [],
"coffees": ["coffees/main.coffee"],
diff --git a/IOMail/assets/scheme.html b/IOMail/assets/scheme.html
deleted file mode 100644
index a712243..0000000
--- a/IOMail/assets/scheme.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/IOMail/build/debug/main.js b/IOMail/build/debug/main.js
deleted file mode 100644
index 50af420..0000000
--- a/IOMail/build/debug/main.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(){var i;(i=class extends this.OS.application.BaseApplication{constructor(i){super("IOMail",i)}main(){}}).singleton=!0,this.OS.register("IOMail",i)}).call(this);
\ No newline at end of file
diff --git a/IOMail/build/debug/package.json b/IOMail/build/debug/package.json
deleted file mode 100644
index b6be60d..0000000
--- a/IOMail/build/debug/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "pkgname": "IOMail",
- "app":"IOMail",
- "name":"IOHub mail",
- "description":"IOHub mail",
- "info":{
- "author": "",
- "email": ""
- },
- "version":"0.1.0-a",
- "category":"Other",
- "iconclass":"fa fa-envelope",
- "mimes":["none"],
- "dependencies":[],
- "locale": {}
-}
\ No newline at end of file
diff --git a/IOMail/build/debug/scheme.html b/IOMail/build/debug/scheme.html
deleted file mode 100644
index a712243..0000000
--- a/IOMail/build/debug/scheme.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/IOMail/coffees/main.coffee b/IOMail/coffees/main.coffee
deleted file mode 100644
index 831efc6..0000000
--- a/IOMail/coffees/main.coffee
+++ /dev/null
@@ -1,9 +0,0 @@
-class IOMail extends this.OS.application.BaseApplication
- constructor: ( args ) ->
- super "IOMail", args
-
- main: () ->
-
-IOMail.singleton = true
-
-this.OS.register "IOMail", IOMail
\ No newline at end of file
diff --git a/IOMail/package.json b/IOMail/package.json
deleted file mode 100644
index b6be60d..0000000
--- a/IOMail/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "pkgname": "IOMail",
- "app":"IOMail",
- "name":"IOHub mail",
- "description":"IOHub mail",
- "info":{
- "author": "",
- "email": ""
- },
- "version":"0.1.0-a",
- "category":"Other",
- "iconclass":"fa fa-envelope",
- "mimes":["none"],
- "dependencies":[],
- "locale": {}
-}
\ No newline at end of file