diff --git a/app/css/misc.css b/app/css/misc.css index e899f8e..282aa14 100644 --- a/app/css/misc.css +++ b/app/css/misc.css @@ -1,3 +1,9 @@ +@media all and (display-mode: browser) { + body { + /* display: none; */ + } + } + .cover-img { object-fit: cover } diff --git a/index.html b/index.html index 7053f88..d7a6a0f 100644 --- a/index.html +++ b/index.html @@ -30,9 +30,7 @@ deferredPrompt.prompt(); deferredPrompt.userChoice.then((choiceResult) => { if (choiceResult.outcome === 'accepted') { - console.log('User accepted the install prompt'); - } else { - console.log('User dismissed the install prompt'); + document.location.href = "/app/app.html" } }); }); diff --git a/manifest.json b/manifest.json index 319559f..66f016e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name": "Miru - Torrent streaming made simple!", + "name": "Miru", "short_name": "Miru", "start_url": "/app/app.html", "display": "standalone",