From d3a7696089cb0b60fad126060502e6d19058a6c9 Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Wed, 16 Aug 2023 00:05:47 -0500 Subject: [PATCH] remove experimental-web-platform-features --- infra/APPIMAGE/Thorium.yml | 8 ++++---- infra/APPIMAGE/files/thorium-shell | 2 +- infra/PATCHES.md | 2 +- infra/portable/THORIUM-PORTABLE | 2 +- infra/portable/THORIUM-SHELL | 2 +- infra/portable/THORIUM.BAT | 2 +- infra/portable/THORIUM_SHELL.BAT | 2 +- thorium_shell/thorium-shell | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/infra/APPIMAGE/Thorium.yml b/infra/APPIMAGE/Thorium.yml index 72b8ab40..a756ea76 100644 --- a/infra/APPIMAGE/Thorium.yml +++ b/infra/APPIMAGE/Thorium.yml @@ -38,7 +38,7 @@ script: - Name=Thorium Browser - GenericName=Web Browser - Comment=Access the Internet - - Exec=thorium --no-default-browser-check --enable-experimental-web-platform-features --new-canvas-2d-api %U + - Exec=thorium --no-default-browser-check %U - StartupWMClass=thorium - Keywords=browser - StartupNotify=true @@ -60,10 +60,10 @@ script: - Exec=thorium --no-experiments %U - [Desktop Action dark-mode] - Name=Open in Dark Mode - - Exec=thorium --force-dark-mode --no-default-browser-check --enable-experimental-web-platform-features --new-canvas-2d-api %U + - Exec=thorium --force-dark-mode --no-default-browser-check %U - [Desktop Action new-private-window] - Name=New Incognito Window - - Exec=thorium --incognito --no-default-browser-check --enable-experimental-web-platform-features --new-canvas-2d-api %U + - Exec=thorium --incognito --no-default-browser-check %U - EOF - chmod a+x ./thorium-browser.desktop - # ADD AppRun @@ -71,6 +71,6 @@ script: - #!/bin/sh - HERE=$(dirname $(readlink -f "${0}")) - export LD_LIBRARY_PATH="${HERE}"/usr/lib:$PATH - - "${HERE}"/usr/bin/thorium --no-default-browser-check --enable-experimental-web-platform-features --new-canvas-2d-api $@ + - "${HERE}"/usr/bin/thorium --no-default-browser-check $@ - EOF - chmod a+x ./AppRun diff --git a/infra/APPIMAGE/files/thorium-shell b/infra/APPIMAGE/files/thorium-shell index d08d240f..37ccae0a 100644 --- a/infra/APPIMAGE/files/thorium-shell +++ b/infra/APPIMAGE/files/thorium-shell @@ -5,4 +5,4 @@ PARENT="$(dirname "$HERE")" export LD_LIBRARY_PATH="${PARENT}"/lib:$PATH -"${HERE}"/thorium_shell --no-default-browser-check --use-gl=desktop --enable-experimental-web-platform-features --new-canvas-2d-api $@ +"${HERE}"/thorium_shell --use-gl=desktop --debug $@ diff --git a/infra/PATCHES.md b/infra/PATCHES.md index daee26ec..815a84d2 100644 --- a/infra/PATCHES.md +++ b/infra/PATCHES.md @@ -7,7 +7,7 @@ NEW > Added some LLVM LOOP optimizations as -mllvm flags. See here > https://git Fixed AVX Windows Builds as per > https://github.com/RobRich999/Chromium_Clang/issues/26#issuecomment-1003605112 -.desktop files are created for Thorium itself and content-shell (named thorium-shell), with theses cmdline flags being appended to both via the wrapper file > '--enable-experimental-web-platform-features --new-canvas-2d-api'. +.desktop files are created for Thorium itself and content-shell (named thorium-shell). There are also additional desktop actions: when right clicking the Thorium launcher it gives three additional desktop actions, one to open thorium-shell, another to open in Safe Mode which disables any flags one has set in chrome://flags until the next launch, and lastly to open in Dark Mode which appends the --force-dark-mode flag. diff --git a/infra/portable/THORIUM-PORTABLE b/infra/portable/THORIUM-PORTABLE index 65578ac4..0b54edb6 100755 --- a/infra/portable/THORIUM-PORTABLE +++ b/infra/portable/THORIUM-PORTABLE @@ -60,4 +60,4 @@ exec > >(exec cat) exec 2> >(exec cat >&2) # Note: exec -a below is a bashism. -exec -a "$0" "$HERE/thorium" "--user-data-dir=$(pwd)/.config/thorium" "--enable-experimental-web-platform-features" "--new-canvas-2d-api" "--disable-machine-id" "--disable-encryption" "$@" +exec -a "$0" "$HERE/thorium" "--user-data-dir=$(pwd)/.config/thorium" "--disable-machine-id" "--disable-encryption" "$@" diff --git a/infra/portable/THORIUM-SHELL b/infra/portable/THORIUM-SHELL index f6c0d10c..c8bfea95 100755 --- a/infra/portable/THORIUM-SHELL +++ b/infra/portable/THORIUM-SHELL @@ -2,4 +2,4 @@ # Copyright (c) 2022 Alex313031 -./thorium_shell --data-path=$(pwd)/.config/thorium-shell --enable-experimental-web-platform-features --new-canvas-2d-api --enable-clear-hevc-for-testing $@ +./thorium_shell --data-path=$(pwd)/.config/thorium-shell --debug --enable-clear-hevc-for-testing $@ diff --git a/infra/portable/THORIUM.BAT b/infra/portable/THORIUM.BAT index 21fa625b..7ffe5a3e 100644 --- a/infra/portable/THORIUM.BAT +++ b/infra/portable/THORIUM.BAT @@ -1 +1 @@ -START "" "%cd%\BIN\thorium.exe" --user-data-dir="%~dp0%\USER_DATA" --allow-outdated-plugins --disable-logging --disable-breakpad --enable-experimental-web-platform-features --new-canvas-2d-api +START "" "%cd%\BIN\thorium.exe" --user-data-dir="%~dp0%\USER_DATA" --allow-outdated-plugins --disable-logging --disable-breakpad diff --git a/infra/portable/THORIUM_SHELL.BAT b/infra/portable/THORIUM_SHELL.BAT index 4cd0ade8..6c550e28 100644 --- a/infra/portable/THORIUM_SHELL.BAT +++ b/infra/portable/THORIUM_SHELL.BAT @@ -1 +1 @@ -START "" "%cd%\BIN\115.0.5790.172\thorium_shell.exe" --data-path="%~dp0%\USER_DATA\thorium_shell" --allow-outdated-plugins --disable-logging --disable-breakpad --enable-experimental-web-platform-features --new-canvas-2d-api +START "" "%cd%\BIN\115.0.5790.172\thorium_shell.exe" --data-path="%~dp0%\USER_DATA\thorium_shell" --allow-outdated-plugins --disable-logging --disable-breakpad diff --git a/thorium_shell/thorium-shell b/thorium_shell/thorium-shell index cd9adc59..face0743 100644 --- a/thorium_shell/thorium-shell +++ b/thorium_shell/thorium-shell @@ -1,3 +1,3 @@ #!/bin/bash -/opt/chromium.org/thorium/thorium_shell --enable-experimental-web-platform-features --new-canvas-2d-api --enable-clear-hevc-for-testing $@ +/opt/chromium.org/thorium/thorium_shell --debug --enable-clear-hevc-for-testing $@