Merge branch 'feature/custom-themes' of github.com:hydralauncher/hydra into feature/custom-themes

This commit is contained in:
Chubby Granny Chaser 2025-02-16 21:43:20 +00:00
commit 777f8573d2
No known key found for this signature in database
6 changed files with 63 additions and 32 deletions

View file

@ -101,11 +101,12 @@ const handleDeepLinkPath = (uri?: string) => {
if (url.host === "install-theme") {
const themeName = url.searchParams.get("theme");
const authorCode = url.searchParams.get("author");
const authorId = url.searchParams.get("authorId");
const authorName = url.searchParams.get("authorName");
if (themeName && authorCode) {
if (themeName && authorId && authorName) {
WindowManager.redirect(
`settings?theme=${themeName}&author=${authorCode}`
`settings?theme=${themeName}&authorId=${authorId}&authorName=${authorName}`
);
}
}