Move icons and sounds to public/resources.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-01-23 22:03:39 -08:00
committed by Anders Kaseorg
parent 985d731d2b
commit 2f4103248d
14 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ const mainUrl = "file://" + path.join(__dirname, "../renderer", "main.html");
const permissionCallbacks = new Map<number, (grant: boolean) => void>();
let nextPermissionCallbackId = 0;
const appIcon = path.join(__dirname, "../resources", "Icon");
const appIcon = path.join(__dirname, "../../public/resources", "Icon");
const iconPath = (): string =>
appIcon + (process.platform === "win32" ? ".ico" : ".png");

View File

@@ -50,7 +50,7 @@ type ServerOrFunctionalTab = ServerTab | FunctionalTab;
const rootWebContents = remote.getCurrentWebContents();
const dingSound = new Audio("../resources/sounds/ding.ogg");
const dingSound = new Audio("../../public/resources/sounds/ding.ogg");
export class ServerManagerView {
$addServerButton: HTMLButtonElement;

View File

@@ -14,7 +14,7 @@ import {ipcRenderer} from "./typed-ipc-renderer.js";
let tray: ElectronTray | null = null;
const iconDir = "../../resources/tray";
const iconDir = "../../../public/resources/tray";
const traySuffix = "tray";

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 321 B

View File

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 631 B

View File

Before

Width:  |  Height:  |  Size: 932 B

After

Width:  |  Height:  |  Size: 932 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB