From cc7af21968a2fc8dc85f47185fb2ef3a34760284 Mon Sep 17 00:00:00 2001 From: Stefan Melmuk Date: Sun, 4 Dec 2022 13:45:45 +0100 Subject: [PATCH] change pageTitle to Vaultwarden and add favicons --- patches/v2022.11.1.patch | 74 ++++++++++++++++++++- resources/android-chrome-192x192.png | Bin 0 -> 3488 bytes resources/android-chrome-512x512.png | Bin 0 -> 10884 bytes resources/apple-touch-icon.png | Bin 0 -> 3250 bytes resources/favicon-16x16.png | Bin 0 -> 372 bytes resources/favicon-32x32.png | Bin 0 -> 886 bytes resources/mstile-150x150.png | Bin 0 -> 3352 bytes resources/safari-pinned-tab.svg | 92 +++++++++++++++++++++++++++ scripts/apply_patches.sh | 8 +++ scripts/generate_patch_file.sh | 7 ++ 10 files changed, 180 insertions(+), 1 deletion(-) create mode 100644 resources/android-chrome-192x192.png create mode 100644 resources/android-chrome-512x512.png create mode 100644 resources/apple-touch-icon.png create mode 100644 resources/favicon-16x16.png create mode 100644 resources/favicon-32x32.png create mode 100644 resources/mstile-150x150.png create mode 100644 resources/safari-pinned-tab.svg diff --git a/patches/v2022.11.1.patch b/patches/v2022.11.1.patch index ff7b8c4..04a8451 100644 --- a/patches/v2022.11.1.patch +++ b/patches/v2022.11.1.patch @@ -71,6 +71,19 @@ index 75089529f..969d81a8a 100644 this.environmentService.setUrls(urls); setTimeout(() => this.notificationsService.init(), 3000); +diff --git a/apps/web/src/app/core/router.service.ts b/apps/web/src/app/core/router.service.ts +index aa9041875..680936375 100644 +--- a/apps/web/src/app/core/router.service.ts ++++ b/apps/web/src/app/core/router.service.ts +@@ -23,7 +23,7 @@ export class RouterService { + .subscribe((event: NavigationEnd) => { + this.currentUrl = event.url; + +- let title = i18nService.t("pageTitle", "Bitwarden"); ++ let title = i18nService.t("pageTitle", "Vaultwarden"); + let child = this.activatedRoute.firstChild; + while (child.firstChild) { + child = child.firstChild; diff --git a/apps/web/src/app/core/web-platform-utils.service.ts b/apps/web/src/app/core/web-platform-utils.service.ts index 115d53401..e62638e35 100644 --- a/apps/web/src/app/core/web-platform-utils.service.ts @@ -113,9 +126,17 @@ index d737bc9f0..6a312c0b1 100644 {{ "versionNumber" | i18n: version }} diff --git a/apps/web/src/app/layouts/navbar.component.html b/apps/web/src/app/layouts/navbar.component.html -index b7e5a69fb..2a0d9fc8b 100644 +index b7e5a69fb..ed0df9e29 100644 --- a/apps/web/src/app/layouts/navbar.component.html +++ b/apps/web/src/app/layouts/navbar.component.html +@@ -1,6 +1,6 @@ +