From 0cd1f6adb56a10b7ecc4423a3b23655e45ca594f Mon Sep 17 00:00:00 2001 From: Kristian Ollikainen Date: Sat, 7 Sep 2024 21:02:03 +0300 Subject: [PATCH] Frontend: Fix multiple require issue Multiple requires would cause multiple initializations, which is bad.. this was the only working way I could do this, seems to work well though, worth it. --- UI/libhv.20240906.log | 45 ------------------------------------------- UI/package.json | 2 +- 2 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 UI/libhv.20240906.log diff --git a/UI/libhv.20240906.log b/UI/libhv.20240906.log deleted file mode 100644 index d2613d1..0000000 --- a/UI/libhv.20240906.log +++ /dev/null @@ -1,45 +0,0 @@ -2024-09-06 02:23:46.212 INFO http server listening on localhost:42069 [HttpServer.cpp:178:http_server_run] -2024-09-06 02:23:46.213 INFO EventLoop started, pid=18792 tid=17832 [HttpServer.cpp:151:loop_thread] -2024-09-06 02:26:54.654 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 02:26:54.669 INFO EventLoopThread started, tid=18084 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:21:20.083 INFO http server listening on localhost:42069 [HttpServer.cpp:178:http_server_run] -2024-09-06 08:21:20.083 INFO EventLoop started, pid=14868 tid=14784 [HttpServer.cpp:151:loop_thread] -2024-09-06 08:22:42.200 INFO http server listening on localhost:42069 [HttpServer.cpp:178:http_server_run] -2024-09-06 08:22:42.200 INFO EventLoop started, pid=2004 tid=2192 [HttpServer.cpp:151:loop_thread] -2024-09-06 08:25:56.731 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:25:56.740 INFO EventLoopThread started, tid=18120 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:27:05.684 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:27:05.697 INFO EventLoopThread started, tid=18220 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:29:00.804 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:29:00.809 INFO EventLoopThread started, tid=8588 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:32:09.904 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:32:09.908 INFO EventLoopThread started, tid=15436 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:32:55.230 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:32:55.239 INFO EventLoopThread started, tid=4052 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:35:04.545 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:35:04.570 INFO EventLoopThread started, tid=648 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:35:38.474 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:35:38.483 INFO EventLoopThread started, tid=18196 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:35:41.937 INFO EventLoopThread stopped, tid=18196 [EventLoopThread.h:104:hv::EventLoopThread::loop_thread] -2024-09-06 08:38:11.914 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:38:11.923 INFO EventLoopThread started, tid=6004 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:38:38.933 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:38:38.942 INFO EventLoopThread started, tid=15616 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:38:46.198 INFO EventLoopThread stopped, tid=15616 [EventLoopThread.h:104:hv::EventLoopThread::loop_thread] -2024-09-06 08:39:39.911 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:39:39.916 INFO EventLoopThread started, tid=17412 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:39:58.137 INFO EventLoopThread stopped, tid=17412 [EventLoopThread.h:104:hv::EventLoopThread::loop_thread] -2024-09-06 08:40:12.426 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 08:40:12.434 INFO EventLoopThread started, tid=7100 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 08:40:18.630 INFO EventLoopThread stopped, tid=7100 [EventLoopThread.h:104:hv::EventLoopThread::loop_thread] -2024-09-06 09:05:47.341 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 09:05:47.350 INFO EventLoopThread started, tid=10540 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 09:05:53.948 INFO EventLoopThread stopped, tid=10540 [EventLoopThread.h:104:hv::EventLoopThread::loop_thread] -2024-09-06 09:06:28.728 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 09:06:28.735 INFO EventLoopThread started, tid=10908 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 09:06:30.342 INFO EventLoopThread stopped, tid=10908 [EventLoopThread.h:104:hv::EventLoopThread::loop_thread] -2024-09-06 09:19:45.163 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 09:19:45.178 INFO EventLoopThread started, tid=16184 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 09:21:41.742 INFO ws://irc-ws.chat.twitch.tv:80 [WebSocketClient.cpp:40:hv::WebSocketClient::open] -2024-09-06 09:21:41.750 INFO EventLoopThread started, tid=19604 [EventLoopThread.h:85:hv::EventLoopThread::loop_thread] -2024-09-06 09:21:47.328 INFO EventLoopThread stopped, tid=19604 [EventLoopThread.h:104:hv::EventLoopThread::loop_thread] diff --git a/UI/package.json b/UI/package.json index ad65f66..8f0fb1f 100644 --- a/UI/package.json +++ b/UI/package.json @@ -39,7 +39,7 @@ "appId": "chatnotifier.app", "productName": "ChatNotifier", "compression": "store", - "asar": "false", + "asar": "true", "files": [ "build/*", "dist-electron/*",