Skip to content

Commit 919c23e

Browse files
committed
Only default branch on Linux uses Awesomium now
1 parent f853202 commit 919c23e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lua/custom_chat/client/block_types.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ local IsStringValid = CustomChat.IsStringValid
1212
-- Force plain HTTP for certain image links when Chromium is not in use
1313
local forceHTTP
1414

15-
if BRANCH == "unknown" then
15+
if system.IsLinux() and BRANCH ~= "x86-64" then
1616
CustomChat.Print( "Not using Chromium, enforcing plain HTTP for some image links." )
1717

1818
forceHTTP = {

lua/custom_chat/client/vgui/chat_history.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ window.addEventListener("keydown", function(ev) {
536536
}
537537
});
538538
539-
console.log("Ready.");
539+
console.log("Ready, using Chromium: " + (IS_AWESOMIUM ? "No" : "Yes"));
540540
</script>
541541
</html>]]
542542
end

0 commit comments

Comments
 (0)