mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-21 08:31:58 +00:00
Merge branch 'master' of https://github.com/ThaUnknown/miru
This commit is contained in:
commit
0d7b24dae2
3 changed files with 3 additions and 2 deletions
|
|
@ -269,7 +269,7 @@ export default class TorrentClient extends WebTorrent {
|
||||||
}
|
}
|
||||||
this.current = found
|
this.current = found
|
||||||
if (data.data.external && this.player) {
|
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', () => {})
|
this.playerProcess.stdout.on('data', () => {})
|
||||||
const startTime = Date.now()
|
const startTime = Date.now()
|
||||||
this.playerProcess.once('close', () => {
|
this.playerProcess.once('close', () => {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Migu",
|
"name": "Migu",
|
||||||
"version": "5.2.5",
|
"version": "5.2.6",
|
||||||
"private": true,
|
"private": true,
|
||||||
"author": "NoCrypt <NoCrypt@users.noreply.github.com>",
|
"author": "NoCrypt <NoCrypt@users.noreply.github.com>",
|
||||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ export default class Updater {
|
||||||
install () {
|
install () {
|
||||||
if (this.hasUpdate) {
|
if (this.hasUpdate) {
|
||||||
autoUpdater.quitAndInstall()
|
autoUpdater.quitAndInstall()
|
||||||
|
this.hasUpdate = false
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue