Skip to content

Commit

Permalink
Version 263:
Browse files Browse the repository at this point in the history
* The launcher-icon512.png image no longer has debugging text "512" overlayed upon it.
* Removed unnecessary session argument from manifest.json and launcher icon URLs which have long since been moved to the applet directory.
* help.html and timeout.htm no longer refer to favicon.ico, instead linking to the same icons as ui3.htm.
* manifest.json now defines the largest resolution icon first for each image format, in an attempt to encourage systems to use a higher quality source graphic when installing UI3 as a progressive web app.
  • Loading branch information
bp2008 committed Dec 9, 2023
1 parent 945b8e4 commit 96a1ca2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
Binary file modified applet/logos/launcher-icon512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions applet/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"short_name": "%%UI3_PWA_NAME%%",
"name": "%%UI3_PWA_NAME%%",
"icons": [
{
"src": "logos/launcher-icon1024.webp",
"sizes": "1024x1024",
"type": "image/webp"
},
{
"src": "logos/launcher-icon128.webp",
"sizes": "128x128",
Expand Down Expand Up @@ -34,9 +39,9 @@
"purpose": "maskable"
},
{
"src": "logos/launcher-icon1024.webp",
"sizes": "1024x1024",
"type": "image/webp"
"src": "logos/launcher-icon512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "logos/launcher-icon48.png",
Expand Down Expand Up @@ -68,11 +73,6 @@
"sizes": "168x168",
"type": "image/png"
},
{
"src": "logos/launcher-icon512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "launcher-icon.png",
"sizes": "192x192",
Expand Down
3 changes: 2 additions & 1 deletion timeout.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="applet/logos/launcher-icon48.png" type="image/png">
<link rel="apple-touch-icon" href="applet/launcher-icon.png" type="image/png">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Timeout - %%SYSNAME%% UI3</title>
<style type="text/css">
Expand Down
8 changes: 4 additions & 4 deletions ui3.htm
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
};
</script>
<script type="text/javascript">
var ui_version = "262";
var ui_version = "263";
var bi_version = "%%VERSION%%";
var appPath_raw = "%%VIRTDIR%%";
var local_bi_session = "%%SESSION%%";
Expand All @@ -104,9 +104,9 @@
combined_version += "-" + Date.now();
var local_bi_session_arg_always = local_bi_session ? "&session=" + local_bi_session : "";
var local_bi_session_arg = navigator.cookieEnabled ? "" : local_bi_session_arg_always;
document.getElementById("ui3manifest").href = 'applet/manifest.json?v=' + combined_version + local_bi_session_arg_always;
document.getElementById("ui3launcher1").href = 'applet/logos/launcher-icon48.png?v=' + combined_version + local_bi_session_arg;
document.getElementById("ui3launcher2").href = 'applet/launcher-icon.png?v=' + combined_version + local_bi_session_arg;
document.getElementById("ui3manifest").href = 'applet/manifest.json?v=' + combined_version;
document.getElementById("ui3launcher1").href = 'applet/logos/launcher-icon48.png?v=' + combined_version;
document.getElementById("ui3launcher2").href = 'applet/launcher-icon.png?v=' + combined_version;
document.write('<link href="ui3/libs-ui3.css?v=' + combined_version + local_bi_session_arg + '" rel="stylesheet" />'
+ '<link href="ui3/ui3.css?v=' + combined_version + local_bi_session_arg + '" rel="stylesheet" />'
+ '<link href="ui3/ui3-local-overrides.css?v=' + combined_version + local_bi_session_arg + '" rel="stylesheet" />');
Expand Down
3 changes: 2 additions & 1 deletion ui3/help/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<!-- The above 2 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="Blue Iris UI3 Help">
<meta name="author" content="bp2008">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="../../applet/logos/launcher-icon48.png" type="image/png">
<link rel="apple-touch-icon" href="../../applet/launcher-icon.png" type="image/png">

<title>UI3 Help</title>

Expand Down

0 comments on commit 96a1ca2

Please sign in to comment.