aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCiaran Gallagher <[email protected]>2020-03-26 16:44:48 +0000
committerCiaran Gallagher <[email protected]>2020-03-26 16:44:48 +0000
commit5b5d9fb0d439ae1fb17709794cffa43fb91dd401 (patch)
tree9bac9df209c9efb3412f512c8f8f2462dfaa78ea
parent27ae0f00eaf9b6bbd12b63f758132d6605fc2095 (diff)
downloadpasta-5b5d9fb0d439ae1fb17709794cffa43fb91dd401.tar.gz
pasta-5b5d9fb0d439ae1fb17709794cffa43fb91dd401.zip
maskable icons
-rw-r--r--images/android-chrome-192-maskable.pngbin0 -> 7609 bytes
-rw-r--r--index.html10
-rw-r--r--manifest.json39
3 files changed, 25 insertions, 24 deletions
diff --git a/images/android-chrome-192-maskable.png b/images/android-chrome-192-maskable.png
new file mode 100644
index 0000000..4ed6929
--- /dev/null
+++ b/images/android-chrome-192-maskable.png
Binary files differ
diff --git a/index.html b/index.html
index 281914a..8d6cb00 100644
--- a/index.html
+++ b/index.html
@@ -11,9 +11,9 @@
<!-- Icon links -->
<link rel='icon' href='images/favicon.png' type='image/x-icon' />
- <link rel="apple-touch-icon" sizes="180x180" href="images/apple_icon180.png">
- <link rel="shortcut icon" sizes="192x192" href="images/android-chrome-192.png">
- <link rel="manifest" href="manifest.json">
+ <link rel="apple-touch-icon" sizes="180x180" href="/images/apple_icon180.png">
+ <link rel="shortcut icon" sizes="192x192" href="/images/android-chrome-192.png">
+ <link rel="manifest" href="/manifest.json">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
@@ -41,7 +41,7 @@
integrity="sha256-qM7QTJSlvtPSxVRjVWNM2OfTAz/3k5ovHOKmKXuYMO4=" crossorigin="anonymous"></script>
<!-- Custom Scripts -->
- <script type="text/javascript" src="js/main.js"></script>
+ <script type="text/javascript" src="/js/main.js"></script>
</head>
<body>
@@ -49,7 +49,7 @@
<nav class="titleNavBar navbar navbar-expand-lg navbar-dark static-top">
<div class="container">
<a class="navbar-brand" href="javascript:window.location.reload()">
- <img class="titleImage" src="images/Logo_Title_Large.png">
+ <img class="titleImage" src="/images/Logo_Title_Large.png">
</a>
<a href="javascript:void(0)" onclick="$('#aboutModal').modal();">
<i class="far fa-question-circle" style="color: #e5a00d; font-size: 1.5em"></i>
diff --git a/manifest.json b/manifest.json
index 42e0cb2..b018e4a 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,20 +1,21 @@
{
- "name":"PASTA | Audio & Subtitle Track Changer for Plex",
- "short_name":"PASTA",
- "icons":[
- {
- "src":"images/android-chrome-192.png",
- "sizes":"192x192",
- "type":"image/png"
- },
- {
- "src":"images/android-chrome-512.png",
- "sizes":"512x512",
- "type":"image/png"
- }
- ],
- "theme_color":"#000000",
- "background_color":"#000000",
- "display":"fullscreen",
- "start_url": "index.html"
- } \ No newline at end of file
+ "name": "PASTA | Audio & Subtitle Track Changer for Plex",
+ "short_name": "PASTA",
+ "icons": [
+ {
+ "src": "/images/android-chrome-192-maskable.png",
+ "sizes": "192x192",
+ "type": "image/png",
+ "purpose": "any maskable"
+ },
+ {
+ "src": "/images/android-chrome-512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#000000",
+ "background_color": "#000000",
+ "display": "fullscreen",
+ "start_url": "/index.html"
+} \ No newline at end of file