mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2025-01-31 19:55:22 +01:00
17 lines
401 B
JavaScript
17 lines
401 B
JavaScript
import { extraResolve } from '$electron/helpers/index.js'
|
|
|
|
export function getTrayPath() {
|
|
switch (process.platform) {
|
|
case 'win32':
|
|
return extraResolve('win/tray/icon.png')
|
|
case 'darwin':
|
|
return extraResolve('mac/tray/iconTemplate.png')
|
|
case 'linux':
|
|
return extraResolve('linux/tray/icon.png')
|
|
default:
|
|
return ''
|
|
}
|
|
}
|
|
|
|
export const trayPath = getTrayPath()
|