PKGBUILDs/extra/mysql-workbench/0001-mysql-workbench-no-check-for-updates.patch

31 lines
1.5 KiB
Diff
Raw Normal View History

2018-07-30 13:50:44 +00:00
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(+)
2015-10-26 18:28:25 +00:00
diff --git a/res/wbdata/main_menu.xml b/res/wbdata/main_menu.xml
2018-07-30 13:50:44 +00:00
index bfa63ef..957f809 100644
2015-10-26 18:28:25 +00:00
--- a/res/wbdata/main_menu.xml
+++ b/res/wbdata/main_menu.xml
2018-07-30 13:50:44 +00:00
@@ -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>