mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 10:19:08 +00:00
23 lines
719 B
TypeScript
23 lines
719 B
TypeScript
// Copyright 2025 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
import {
|
|
getPath,
|
|
getDraftPath,
|
|
getStickersPath,
|
|
getTempPath,
|
|
getBadgesPath,
|
|
getAvatarsPath,
|
|
getDownloadsPath,
|
|
} from '../windows/main/attachments.preload.js';
|
|
|
|
const userDataPath = window.SignalContext.getPath('userData');
|
|
|
|
export const ATTACHMENTS_PATH = getPath(userDataPath);
|
|
export const DRAFT_PATH = getDraftPath(userDataPath);
|
|
export const STICKERS_PATH = getStickersPath(userDataPath);
|
|
export const TEMP_PATH = getTempPath(userDataPath);
|
|
export const BADGES_PATH = getBadgesPath(userDataPath);
|
|
export const AVATARS_PATH = getAvatarsPath(userDataPath);
|
|
export const DOWNLOADS_PATH = getDownloadsPath(userDataPath);
|