repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git]
/
applications
/
pass-desktop
/
src
/
utils
/
platform.ts
blob
e1ee3a72ce0da4bf5b1796bd6590f2d4c20255fb
1
import { app } from 'electron';
2
3
export const isMac = process.platform === 'darwin';
4
export const isWindows = process.platform === 'win32';
5
export const isLinux = process.platform === 'linux';
6
export const isProdEnv = () => app.isPackaged;