PKGBUILDs/extra/mysql-workbench/0001-mysql-workbench-no-check-for-updates.patch
2023-05-29 21:48:20 +00:00

31 lines
1.5 KiB
Diff

From d15e588be02e44b1317bf90ff7be1714267281c8 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Mon, 23 Jul 2018 11:03:19 +0200
Subject: [PATCH 1/4] mysql-workbench-no-check-for-updates
Signed-off-by: Christian Hesse <mail@eworm.de>
---
res/wbdata/main_menu.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/res/wbdata/main_menu.xml b/res/wbdata/main_menu.xml
index bfa63ef..957f809 100644
--- a/res/wbdata/main_menu.xml
+++ b/res/wbdata/main_menu.xml
@@ -2277,6 +2277,7 @@
<value type="string" key="command">builtin:show_log_file</value>
<value type="string" key="itemType">action</value>
</value>
+ <!-- We build a package that should be updated via pacman, so disable this check.
<value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.help.checkver">
<value type="string" key="itemType">separator</value>
</value>
@@ -2287,6 +2288,7 @@
<value type="string" key="command">plugin:wb.tools.checkForUpdates</value>
<value type="string" key="itemType">action</value>
</value>
+ </value> //-->
<value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.help.report_a_bug">
<value type="string" key="itemType">separator</value>
<value type="string" key="platform">windows,linux</value>