diff --git a/src/main.js b/src/main.js
index 1e8772c61ddfbbd2bc49d41ad11910dd65b6cd54..a1517770a6dfcaf76cafa6fbf7e3ece10e52bea6 100644
--- a/src/main.js
+++ b/src/main.js
@@ -57,7 +57,7 @@ class ElectronicWeChat {
         } else {
           this.tray.setTitle('');
         }
-      } else if (process.platform == "linux") {
+      } else if (process.platform == "linux" || process.platform == "win32") {
           app.setBadgeCount(num * 1);
           this.tray.setUnreadStat((num * 1 > 0)? 1 : 0);
       }
diff --git a/src/windows/controllers/app_tray.js b/src/windows/controllers/app_tray.js
index 56a32f54919f8b552407b015517536dfd4aaaf32..b1666ce96949d974e1f565f8e6449bf13cfc95ed 100644
--- a/src/windows/controllers/app_tray.js
+++ b/src/windows/controllers/app_tray.js
@@ -39,7 +39,7 @@ class AppTray {
 
   createTray() {
     let image;
-    if (process.platform === 'linux') {
+    if (process.platform === 'linux' || process.platform  == "win32") {
       image = nativeImage.createFromPath(path.join(__dirname, `../../../assets/tray_${this.trayColor}.png`));
       this.trayIcon = image;
       this.trayIconUnread = nativeImage.createFromPath(path.join(__dirname, `../../../assets/tray_unread_${this.trayColor}.png`));
@@ -51,7 +51,7 @@ class AppTray {
     this.tray = new Tray(image);
     this.tray.setToolTip(Common.ELECTRONIC_WECHAT);
 
-    if (process.platform === 'linux') {
+    if (process.platform === 'linux' || process.platform  == "win32") {
       const contextMenu = Menu.buildFromTemplate([
         { label: 'ChangeIconColor', click: () => this.changeIconColor() },
         { label: 'Show', click: () => this.hideSplashAndShowWeChat() },