Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit b3c5785

Browse files
feat: pass darwin check
1 parent ea456a3 commit b3c5785

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/preload.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export type Channels =
77
| 'closeApp';
88

99
contextBridge.exposeInMainWorld('electron', {
10+
isMac: process.platform === 'darwin',
1011
ipcRenderer: {
1112
sendMessage(channel: Channels, args: unknown[]) {
1213
ipcRenderer.send(channel, args);

0 commit comments

Comments
 (0)