mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
9 lines
257 B
TypeScript
9 lines
257 B
TypeScript
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
import path from 'node:path';
|
|
import {app} from 'electron';
|
|
|
|
export function getDesktopDistributionPath(...segments: ReadonlyArray<string>): string {
|
|
return path.join(app.getAppPath(), 'dist', ...segments);
|
|
}
|