Skip to content

Commit 2f41032

Browse files
committed
Move icons and sounds to public/resources.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 985d731 commit 2f41032

File tree

14 files changed

+3
-3
lines changed

14 files changed

+3
-3
lines changed

app/main/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const mainUrl = "file://" + path.join(__dirname, "../renderer", "main.html");
4141
const permissionCallbacks = new Map<number, (grant: boolean) => void>();
4242
let nextPermissionCallbackId = 0;
4343

44-
const appIcon = path.join(__dirname, "../resources", "Icon");
44+
const appIcon = path.join(__dirname, "../../public/resources", "Icon");
4545

4646
const iconPath = (): string =>
4747
appIcon + (process.platform === "win32" ? ".ico" : ".png");

app/renderer/js/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ type ServerOrFunctionalTab = ServerTab | FunctionalTab;
5050

5151
const rootWebContents = remote.getCurrentWebContents();
5252

53-
const dingSound = new Audio("../resources/sounds/ding.ogg");
53+
const dingSound = new Audio("../../public/resources/sounds/ding.ogg");
5454

5555
export class ServerManagerView {
5656
$addServerButton: HTMLButtonElement;

app/renderer/js/tray.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {ipcRenderer} from "./typed-ipc-renderer.js";
1414

1515
let tray: ElectronTray | null = null;
1616

17-
const iconDir = "../../resources/tray";
17+
const iconDir = "../../../public/resources/tray";
1818

1919
const traySuffix = "tray";
2020

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)