Skip to content

Commit

Permalink
Small changes for better navigation. Now compiles 32bit to fix incomp…
Browse files Browse the repository at this point in the history
…atability issues.
  • Loading branch information
WouterJansen committed Jun 25, 2018
1 parent 0fcc748 commit c64acb2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 4 additions & 0 deletions app/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,7 @@ h5 {
color: #0c99ff;
cursor: pointer;
}

#torrent-pause, #torrent-start, #minimize-button, #close-button{
cursor: pointer;
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"appId": "PRBF2-Download-Assistant",
"win": {
"target": [
"portable"
{
"target": "portable",
"arch":["ia32"]
}
],
"icon": "/app/assets/icons/ico/icon.ico"
}
Expand Down

0 comments on commit c64acb2

Please sign in to comment.