diff --git a/desktop.js b/desktop.js
new file mode 100644
index 0000000..0596ef3
--- /dev/null
+++ b/desktop.js
@@ -0,0 +1,23 @@
+const menubar = require('menubar');
+const path = require('path');
+
+// enable ES6 (transpiling behind the scene)
+require('babel-register');
+
+// start frontend server
+require('./src/server.js');
+
+// start api server
+require('./api/api.js');
+
+menubar({
+ icon: path.join(__dirname, '/desktop/icons/UberLogo.png'),
+ // transparent: true,
+ movable: false,
+ resizable: false,
+ useContentSize: true,
+ height: 525,
+ width: 340,
+ index: `file://${__dirname}/desktop/app.html`,
+ y: 30,
+});
diff --git a/desktop/app.html b/desktop/app.html
index 6a50a80..801653e 100644
--- a/desktop/app.html
+++ b/desktop/app.html
@@ -4,15 +4,56 @@
and surge also need the callback id to confirme the
rate limit. This is not optimal but it works for now...
-->
+
+
+
diff --git a/desktop/app.js b/desktop/app.js
deleted file mode 100644
index 9ea2096..0000000
--- a/desktop/app.js
+++ /dev/null
@@ -1,21 +0,0 @@
-const menubar = require('menubar');
-const path = require('path');
-
-// enable ES6 (transpiling behind the scene)
-require('babel-register');
-
-// start frontend server
-require('../src/server.js');
-
-// start api server
-require('../api/api.js');
-
-menubar({
- icon: path.join(__dirname, '/icons/UberLogo.png'),
- // preloadWindow: true,
- transparent: true,
- height: 525,
- width: 340,
- index: `file://${__dirname}/app.html`,
- y: 30,
-});
diff --git a/desktop/webview.css b/desktop/webview.css
deleted file mode 100644
index 7f393df..0000000
--- a/desktop/webview.css
+++ /dev/null
@@ -1,22 +0,0 @@
-body {
- width: 340px;
- height: 495px;
- padding: 0;
- margin: 14px 0 0;
- position: relative;
-}
-
-body:after {
- bottom: 100%;
- left: 50%;
- border: solid transparent;
- content: '';
- height: 0;
- width: 0;
- position: absolute;
- pointer-events: none;
- border-color: rgba(255, 255, 255, 0);
- border-bottom-color: #fff;
- border-width: 14px;
- margin-left: -14px;
-}
diff --git a/desktop/webview.js b/desktop/webview.js
deleted file mode 100644
index 8aa54df..0000000
--- a/desktop/webview.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/* eslint prefer-template: 0 */
-const webview = document.getElementById('uber');
-
-// This is needed to remove facebook login and hide links to browse uber.com
-webview.addEventListener('dom-ready', () => {
- webview.insertCSS([
- '.btn--link',
- '.text-uber-white',
- 'p.text--center',
- '.btn--facebook',
- ].join() + '{display:none!important;}');
-
- webview.insertCSS(
- 'header.contextual {position:fixed !important;} .wrapper {padding-top: 80px !important;}'
- );
-
- webview.addEventListener('console-message', (e) => {
- console.log('Guest page logged a message:', e.message);
- });
-
- webview.openDevTools();
-});
diff --git a/index.html b/index.html
index d4aba55..174d91f 100755
--- a/index.html
+++ b/index.html
@@ -2,7 +2,7 @@
@@ -10,6 +10,6 @@
-
+