This commit is contained in:
Hachi-R
2025-02-16 01:28:01 -03:00
parent d7d88ecb8c
commit bf3905f19e
5 changed files with 87 additions and 80 deletions

View File

@@ -4,7 +4,7 @@ import { WindowManager } from "@main/services";
const importTheme = async (
_event: Electron.IpcMainInvokeEvent,
theme: string,
author: string,
author: string
) => {
WindowManager.mainWindow?.webContents.send("import-theme", theme, author);
};

View File

@@ -92,7 +92,11 @@ const handleDeepLinkPath = (uri?: string) => {
const authorCode = url.searchParams.get("author");
if (themeName && authorCode) {
WindowManager.mainWindow?.webContents.send("import-theme", themeName, authorCode);
WindowManager.mainWindow?.webContents.send(
"import-theme",
themeName,
authorCode
);
}
}
} catch (error) {