Skip to content

Commit 500f6d1

Browse files
authored
do not auto update for mac until we get approved in store (#119)
1 parent dfe0e9e commit 500f6d1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main.dev.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,11 @@ async function init(): Promise<void> {
131131
const cliProcess = cli.process;
132132
const { configClient, listenerClient } = cli;
133133

134-
// Remove this if your app does not use auto updates
135-
// eslint-disable-next-line
136-
new AppUpdater();
134+
if (process.platform !== 'darwin') {
135+
// eslint-disable-next-line
136+
new AppUpdater();
137+
}
138+
137139
installExtension(REDUX_DEVTOOLS)
138140
.then((name: string) => console.log(`Added Extension: ${name}`))
139141
.catch((err: Error) => console.log('An error occurred: ', err));

0 commit comments

Comments
 (0)