From 04d8d2e66177fa3d04998912b47643ef00fecc54 Mon Sep 17 00:00:00 2001 From: Botspot <54716352+Botspot@users.noreply.github.com> Date: Tue, 12 Dec 2023 19:58:29 -0600 Subject: [PATCH] Better Chromium: hide widevine option if non-chromium-browser --- apps/Better Chromium/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Better Chromium/install b/apps/Better Chromium/install index 634a9ed0f9..b27537b0c1 100755 --- a/apps/Better Chromium/install +++ b/apps/Better Chromium/install @@ -126,7 +126,7 @@ else widevine=FALSE fi #detect if Widevine can be enabled -if package_available libwidevinecdm0;then +if package_available libwidevinecdm0 && package_installed chromium-browser;then widevine_possible=TRUE widevine_message=(--field="Enable Widevine DRM (for Netflix, Spotify)":CHK "$widevine") else