Skip to content

Commit

Permalink
fix: mpv url encodign
Browse files Browse the repository at this point in the history
fix: maybe macos updater?
  • Loading branch information
ThaUnknown committed Jul 26, 2024
1 parent cf6f309 commit 333f021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion common/modules/webtorrent.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export default class TorrentClient extends WebTorrent {
}
this.current = found
if (data.data.external && this.player) {
this.playerProcess = spawn(this.player, [encodeURI('' + new URL('http://localhost:' + this.server.address().port + found.streamURL))])
this.playerProcess = spawn(this.player, ['' + new URL('http://localhost:' + this.server.address().port + found.streamURL)])
this.playerProcess.stdout.on('data', () => {})
const startTime = Date.now()
this.playerProcess.once('close', () => {
Expand Down
1 change: 1 addition & 0 deletions electron/src/main/updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default class Updater {
install () {
if (this.hasUpdate) {
autoUpdater.quitAndInstall()
this.hasUpdate = false
return true
}
}
Expand Down

0 comments on commit 333f021

Please sign in to comment.