diff --git a/electron/webpack.config.js b/electron/webpack.config.js
index 86e95e6..440cc12 100644
--- a/electron/webpack.config.js
+++ b/electron/webpack.config.js
@@ -102,7 +102,7 @@ const mainConfig = {
             {
                 patterns: [
                     {
-                        from: path.resolve(__dirname, '..', 'chat', 'preview', 'assets', '**/*'),
+                        from: path.resolve(__dirname, '..', 'chat', 'preview', 'assets', '**', '*').replace(/\\/g, '/'),
                         to: path.join('preview', 'assets'),
                         context: path.resolve(__dirname, '..', 'chat', 'preview', 'assets')
                     }