File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ description: change extra channel info to "Ungoogled Chromium"
2
+ author: Wengling Chen <
[email protected] >
3
+
4
+ ---
5
+ chrome/common/channel_info_posix.cc | 2 +-
6
+ chrome/common/channel_info_win.cc | 2 +-
7
+ 2 files changed, 2 insertions(+), 2 deletions(-)
8
+
9
+ --- a/chrome/common/channel_info_posix.cc
10
+ +++ b/chrome/common/channel_info_posix.cc
11
+ @@ -21,7 +21,7 @@ version_info::Channel GetChannelImpl(std::string* modifier_out) {
12
+ version_info::Channel channel = version_info::Channel::UNKNOWN;
13
+ std::string modifier;
14
+
15
+ - char* env = getenv("CHROME_VERSION_EXTRA");
16
+ + char* env = "Ungoogled Chromium";
17
+ if (env)
18
+ modifier = env;
19
+
20
+ --- a/chrome/common/channel_info_win.cc
21
+ +++ b/chrome/common/channel_info_win.cc
22
+ @@ -22,7 +22,7 @@ std::string GetChannelName() {
23
+ #endif // defined(DCHECK_IS_CONFIGURABLE)
24
+ return base::UTF16ToASCII(channel);
25
+ #else
26
+ - return std::string();
27
+ + return std::string("Ungoogled Chromium");
28
+ #endif
29
+ }
30
+
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch
86
86
extra/ungoogled-chromium/disable-dial-repeating-discovery.patch
87
87
extra/ungoogled-chromium/remove-uneeded-ui.patch
88
88
extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch
89
+ extra/ungoogled-chromium/add-extra-channel-info.patch
89
90
extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch
90
91
extra/bromite/flag-max-connections-per-host.patch
91
92
extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch
You can’t perform that action at this time.
0 commit comments