         "min-width": 620
         "min-height": 420
         icon: path.join __dirname, 'icons', 'icon.png'
-        show: !hasTray or !nconf.get 'startminimized'
+        show: !nconf.get 'startminimized'
     }
 
     # Create the system tray
-    if hasTray
-        # Create tray
-        tray = new Tray path.join __dirname, 'icons', 'icon.png'
-        contextMenu = Menu.buildFromTemplate [
-            { label: 'Hide/show', click: toggleWindowVisible }
-            { label: 'Quit', click: quit}
-        ]
-        tray.setToolTip 'YakYak - Hangouts client'
-        tray.setContextMenu contextMenu
-
-        # Emitted when the tray icon is clicked
-        tray.on 'clicked', toggleWindowVisible
+    tray = new Tray path.join __dirname, 'icons', 'icon.png'
+    contextMenu = Menu.buildFromTemplate [
+        { label: 'Hide/show', click: toggleWindowVisible }
+        { label: 'Quit', click: quit}
+    ]
+    tray.setToolTip 'YakYak - Hangouts client'
+    tray.setContextMenu contextMenu
+
+    # Emitted when the tray icon is clicked
+    tray.on 'clicked', toggleWindowVisible
 
     # and load the index.html of the app. this may however be yanked
     # away if we must do auth.


    ipc.on 'updatebadge', (ev, value) ->
        app.dock.setBadge(value) if app.dock

    ipc.on 'searchentities', (ev, query, max_results) ->
        promise = client.searchentities query, max_results

    # For OSX only hides the window if we're not force closing.
    # Prevent close, if minimizetotray is enabled.
    mainWindow.on 'close', (ev) ->
        hideToTray = !readyToClose and nconf.get 'minimizetotray'
        darwinHideOnly = process.platform == 'darwin' and not mainWindow?.forceClose

        if hideToTray or darwinHideOnly
