From c64acb2a6ba2df864e07f03940b881f30ede523c Mon Sep 17 00:00:00 2001 From: Wouter J Date: Mon, 25 Jun 2018 12:23:01 +0200 Subject: [PATCH] Small changes for better navigation. Now compiles 32bit to fix incompatability issues. --- app/download.js | 5 +++-- app/styles.css | 4 ++++ package.json | 5 ++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/app/download.js b/app/download.js index 7ab6739..bd7bc05 100644 --- a/app/download.js +++ b/app/download.js @@ -113,8 +113,9 @@ $(() => { } function onCloseButtonPress() { - app.quit(); - win.close(); + win.setProgressBar(0, {mode: "normal"}); + if(!paused){client.remove(client.torrents[0]);} + win.loadFile('./app/cancel.html') } function onTorrentContinueButtonPress() { diff --git a/app/styles.css b/app/styles.css index 247cecd..6373302 100644 --- a/app/styles.css +++ b/app/styles.css @@ -116,3 +116,7 @@ h5 { color: #0c99ff; cursor: pointer; } + +#torrent-pause, #torrent-start, #minimize-button, #close-button{ + cursor: pointer; +} \ No newline at end of file diff --git a/package.json b/package.json index e3d993e..f4dabd4 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,10 @@ "appId": "PRBF2-Download-Assistant", "win": { "target": [ - "portable" + { + "target": "portable", + "arch":["ia32"] + } ], "icon": "/app/assets/icons/ico/icon.ico" }