This commit is contained in:
NoCrypt 2024-07-26 18:20:43 +07:00
commit 0d7b24dae2
3 changed files with 3 additions and 2 deletions

View file

@ -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', () => {

View file

@ -1,6 +1,6 @@
{
"name": "Migu",
"version": "5.2.5",
"version": "5.2.6",
"private": true,
"author": "NoCrypt <NoCrypt@users.noreply.github.com>",
"description": "Stream anime torrents, real-time with no waiting for downloads.",

View file

@ -28,6 +28,7 @@ export default class Updater {
install () {
if (this.hasUpdate) {
autoUpdater.quitAndInstall()
this.hasUpdate = false
return true
}
}