mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-02 16:23:20 +01:00
12 lines
387 B
TypeScript
12 lines
387 B
TypeScript
// Copyright 2025 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
import { nativeImage } from 'electron';
|
|
import type { NativeImage } from 'electron';
|
|
import { join } from 'node:path';
|
|
|
|
export function getAppErrorIcon(rootDir: string): NativeImage {
|
|
const iconPath = join(rootDir, 'images', 'app-icon-with-error.png');
|
|
return nativeImage.createFromPath(iconPath);
|
|
}
|