From 9feff7b06409d777a8a6f82018d0df8f220dd672 Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Thu, 3 Oct 2024 19:07:27 +0300 Subject: [PATCH] Update patches --- patches/0001-Add-package-licence.patch | 4 ++-- patches/0002-Create-app-tray-icon.patch | 4 ++-- patches/0004-Dev-Tools-from-config.patch | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/patches/0001-Add-package-licence.patch b/patches/0001-Add-package-licence.patch index 88fc6b9..c4fcdda 100644 --- a/patches/0001-Add-package-licence.patch +++ b/patches/0001-Add-package-licence.patch @@ -1,9 +1,9 @@ diff --git a/package.json b/package.json --- a/package.json +++ b/package.json -@@ -50,5 +50,6 @@ +@@ -49,5 +49,6 @@ "kk", - "az" + "uz" ] - } + }, diff --git a/patches/0002-Create-app-tray-icon.patch b/patches/0002-Create-app-tray-icon.patch index dddb3e6..37a5bdb 100644 --- a/patches/0002-Create-app-tray-icon.patch +++ b/patches/0002-Create-app-tray-icon.patch @@ -28,9 +28,9 @@ diff --git a/main/lib/createTray.js b/main/lib/createTray.js diff --git a/main/index.js b/main/index.js --- a/main/index.js +++ b/main/index.js -@@ -46,6 +46,9 @@ Logger_js_1.Logger.setupLogger(); - (0, handleDeeplink_js_1.handleDeeplink)(window); +@@ -48,6 +48,9 @@ Logger_js_1.Logger.setupLogger(); (0, handleMetrikaRequests_js_1.handleMetrikaRequests)(window); + (0, handleFrames_js_1.handleFrames)(window); (0, handleCrash_js_1.handleCrash)(); + const {createTray} = require('./lib/createTray.js'); + const trayEnabled = process.env.TRAY_ENABLED && process.env.TRAY_ENABLED > 0; diff --git a/patches/0004-Dev-Tools-from-config.patch b/patches/0004-Dev-Tools-from-config.patch index a86ca5e..dc1039c 100644 --- a/patches/0004-Dev-Tools-from-config.patch +++ b/patches/0004-Dev-Tools-from-config.patch @@ -12,4 +12,4 @@ diff --git a/main/config.js b/main/config.js + enableDevTools: devTools, enableWebSecurity: true, enableAutoUpdate: true, - enableUpdateByProbability: false, + enableUpdateByProbability: true,