escrcpy/electron/configs/index.js

30 lines
823 B
JavaScript
Raw Normal View History

import { resolve } from 'node:path'
2024-05-15 05:16:02 +02:00
import { buildResolve, extraResolve } from '$electron/helpers/index.js'
export { adbPath } from './android-platform-tools/index.js'
2024-09-07 19:55:54 +02:00
export { gnirehtetApkPath, gnirehtetPath } from './gnirehtet/index.js'
2024-09-07 19:55:54 +02:00
export { scrcpyPath } from './scrcpy/index.js'
export const desktopPath = process.env.DESKTOP_PATH
export const devPublishPath = resolve('dev-publish.yml')
export const logoPath = buildResolve('logo.png')
export const icoLogoPath = buildResolve('logo.ico')
export const icnsLogoPath = buildResolve('logo.icns')
export const trayPath
= process.platform === 'darwin'
? extraResolve('mac/tray/iconTemplate.png')
: extraResolve('common/tray/icon.png')
export const logPath = process.env.LOG_PATH
2024-09-12 13:11:46 +02:00
export function getLogoPath() {
const icon = logoPath
return icon
2024-09-12 13:11:46 +02:00
}