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