Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

env.ts

2 lines189 Bytes

1// Preload installs desktopBridge before web code runs, so module-load detection is reliable.
2export const isElectron = typeof window !== "undefined" && window.desktopBridge !== undefined;