diff --git a/package.json b/package.json index f701626f..344a6ab2 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "debug": "^2.2.0", "drag-drop": "^2.3.1", "electron-localshortcut": "^0.6.0", - "hyperx": "^2.0.0", + "hyperx": "^2.0.2", "main-loop": "^3.2.0", "network-address": "^1.1.0", "pretty-bytes": "^3.0.0", diff --git a/renderer/index.js b/renderer/index.js index df897f4b..77677080 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -253,6 +253,7 @@ function isNotTorrentFile (file) { } function addTorrent (torrentId) { + if (!torrentId) torrentId = 'magnet:?xt=urn:btih:6a9759bffd5c0af65319979fb7832189f4f3c35d&dn=sintel.mp4' var torrent = client.add(torrentId) addTorrentEvents(torrent) } diff --git a/renderer/views/header.js b/renderer/views/header.js index 39be2a7b..d1cc92f2 100644 --- a/renderer/views/header.js +++ b/renderer/views/header.js @@ -8,41 +8,43 @@ function Header (state, dispatch) { var navLeftStyle = process.platform === 'darwin' ? {marginLeft: '78px'} /* OSX needs room on the left for min/max/close buttons */ : null /* On Windows and Linux, the header is separate & underneath the title bar */ + return hx` -
+
${getTitle()} -