mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
remove experimental-web-platform-features
This commit is contained in:
parent
00005e0396
commit
d3a7696089
8 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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 $@
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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" "$@"
|
||||
|
|
|
@ -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 $@
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 $@
|
||||
|
|
Loading…
Reference in a new issue