diff --git a/.SRCINFO b/.SRCINFO index ce5f7dd82ab60..13f20b9b0453c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -16,7 +16,7 @@ pkgbase = thorium-browser-bin source = https://github.com/Alex313031/Thorium/releases/download/M119.0.6045.214/thorium-browser_119.0.6045.214_amd64.deb source = thorium-browser.sh sha256sums = SKIP - sha256sums = 1e76ad0a1d9a8d5fa3aa4b049e2ef52de7c3c7745204c70f72fc9218eb38a738 + sha256sums = 8c6cd4c85389d9642afce9549c750d7b27ab9e2f4032a05fa03d02799cd8ac9b pkgname = thorium-browser-bin depends = alsa-lib diff --git a/PKGBUILD b/PKGBUILD index 8e7db41d9f6f6..ad3c394e67310 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -45,7 +45,7 @@ _main_package() { ) sha256sums=( 'SKIP' - '1e76ad0a1d9a8d5fa3aa4b049e2ef52de7c3c7745204c70f72fc9218eb38a738' + '8c6cd4c85389d9642afce9549c750d7b27ab9e2f4032a05fa03d02799cd8ac9b' ) pkgver() { diff --git a/thorium-browser.install b/thorium-browser.install index 6d53b444df4d7..4c154108d38da 100644 --- a/thorium-browser.install +++ b/thorium-browser.install @@ -26,11 +26,11 @@ post_install() { if /usr/lib/ld-linux-x86-64.so.2 --help | grep -qsE '^\s+x86-64-v3.*supported.*$' ; then note1 "Custom flags should be put directly in: ~/.config/thorium-flags.conf" note2 "The launcher is called: 'thorium-browser'" - elif /usr/lib/ld-linux-x86-64.so.2 --help | grep -qsE '^\s+x86-64-v2.*supported.*$' ; then - note1 "Your processor supports x86-64-v2, but not x86-64-v3." + elif grep -qE '\bpni\b' /proc/cpuinfo ; then + note1 "Your processor does not support x86-64-v3 instructions." note2 "You may want to install thorium-browser-sse3-bin instead." else - note1 "Your processor does not support x86-64-v2 or x86-64-v3." + note1 "Your processor does not support SSE3 instructions." note2 "thorium-browser may not work on your computer." fi } diff --git a/thorium-browser.sh b/thorium-browser.sh index a2c2e20f6b97f..528c421652dff 100644 --- a/thorium-browser.sh +++ b/thorium-browser.sh @@ -4,13 +4,13 @@ if /usr/lib/ld-linux-x86-64.so.2 --help | grep -qsE '^\s+x86-64-v3.*supported.*$' ; then _message='' _message+=$'The fastest browser on Earth.' -elif /usr/lib/ld-linux-x86-64.so.2 --help | grep -qsE '^\s+x86-64-v2.*supported.*$' ; then +elif grep -qE '\bpni\b' /proc/cpuinfo ; then _message='' - _message+=$'Your processor supports x86-64-v2, but not x86-64-v3.\n' + _message+=$'Your processor does not support x86-64-v3 instructions.\n' _message+=$'You may want to use thorium-browser-sse3-bin.' else _message='' - _message+=$'Your processor does not support x86-64-v2 or x86-64-v3.\n' + _message+=$'Your processor does not support SSE3 instructions.\n' _message+=$'thorium-browser may not work on your computer.' fi