Skip to content

Commit

Permalink
Work around startup crashes on Linux (brave/brave-browser#4142)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarier committed Jul 3, 2019
1 parent 54d8cca commit dd7eaab
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions patches/chrome-installer-linux-common-desktop.template.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
diff --git a/chrome/installer/linux/common/desktop.template b/chrome/installer/linux/common/desktop.template
index 62f031cfdff3ae9a7b25b76f88b3ba40ab477e75..490b7d13cf703e353444fd940e0350e23f57be09 100644
--- a/chrome/installer/linux/common/desktop.template
+++ b/chrome/installer/linux/common/desktop.template
@@ -166,7 +166,7 @@ Name[uk]=Нове вікно
Name[vi]=Cửa sổ Mới
Name[zh_CN]=新建窗口
Name[zh_TW]=開新視窗
-Exec=/usr/bin/@@USR_BIN_SYMLINK_NAME@@
+Exec=/usr/bin/@@USR_BIN_SYMLINK_NAME@@ || /bin/true

[Desktop Action new-private-window]
Name=New Incognito Window
@@ -218,4 +218,4 @@ Name[uk]=Нове вікно в режимі анонімного перегля
Name[vi]=Cửa sổ ẩn danh mới
Name[zh_CN]=新建隐身窗口
Name[zh_TW]=新增無痕式視窗
-Exec=/usr/bin/@@USR_BIN_SYMLINK_NAME@@ --incognito
+Exec=/usr/bin/@@USR_BIN_SYMLINK_NAME@@ --incognito || /bin/true

0 comments on commit dd7eaab

Please sign in to comment.