Skip to content

Commit

Permalink
Changed some text in context menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
YuhApps committed Oct 23, 2023
1 parent dec8301 commit ae42c35
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 88 deletions.
133 changes: 52 additions & 81 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "magtorrent",
"productName": "MagTorrent",
"version": "1.0.3",
"version": "1.0.4",
"description": "A torrent app for Desktop, powered by WebTorrent and Electron.",
"main": "src/app.js",
"scripts": {
Expand Down Expand Up @@ -42,12 +42,12 @@
"electron-updater": "^6.1.4",
"sound-play": "^1.1.0",
"trash": "^8.1.1",
"webtorrent": "^2.1.25"
"webtorrent": "^2.1.27"
},
"devDependencies": {
"@electron/notarize": "^2.1.0",
"electron": "^25.8.2",
"electron-builder": "^24.6.3"
"electron": "^27.0.0",
"electron-builder": "^24.6.4"
},
"postinstall": "electron-builder install-app-deps"
}
6 changes: 3 additions & 3 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,11 @@ function createTorrentOptionsMenu({ infoHash }, point) {
}
},
{
label: 'Stop and delete from list',
label: 'Remove torrent',
click: () => torrent.destroy(() => mainWindow.webContents.send('remove-torrent', torrent.infoHash))
},
{
label: 'Delete torrent and move its files to ' + (process.platform === 'win32' ? 'Recycle Bin' : 'Trash'),
label: 'Move to ' + (process.platform === 'win32' ? 'Recycle Bin' : 'Trash'),
click: () => {
torrent.destroy(() => {
let p = path.join(torrent.path, torrent.name)
Expand All @@ -382,7 +382,7 @@ function createTorrentOptionsMenu({ infoHash }, point) {
}
},
{
label: 'Delete torrent and remove its files permanently',
label: 'Delete permanently',
click: () => {
torrent.destroy(() => {
let p = path.join(torrent.path, torrent.name)
Expand Down

0 comments on commit ae42c35

Please sign in to comment.