1
0
Эх сурвалжийг харах

fix a problem that may occur during testing.

oldj 4 жил өмнө
parent
commit
204c11e26d

+ 1 - 1
src/main/tray/index.ts

@@ -134,7 +134,7 @@ const show = () => {
   // win.focus()
 }
 
-app.whenReady().then(() => {
+app && app.whenReady().then(() => {
   if (!tray) {
     makeTray()
   }