fix: disable and blacklist wayvr dashboard plugin

This commit is contained in:
Gabriele Musco 2025-04-08 15:38:20 +02:00
parent 2f5ec57a0a
commit 7a02fcc5d1
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE
2 changed files with 6 additions and 2 deletions

View file

@ -249,6 +249,10 @@ impl App {
.plugins
.values()
.filter_map(|cp| {
// disable potentially unsafe wayvr_dashboard
if cp.plugin.appid.contains("wayvr_dashboard") {
return None;
}
if cp.enabled && cp.plugin.validate() {
if let Err(e) = cp.plugin.mark_as_executable() {
error!(

View file

@ -163,10 +163,10 @@ impl Plugin {
/// urls to manifest json files representing plugins.
/// each manifest should be json and the link should always point to the latest version
const MANIFESTS: [&str;3] = [
const MANIFESTS: [&str;2] = [
"https://github.com/galister/wlx-overlay-s/raw/refs/heads/meta/com.github.galister.wlx-overlay-s.json",
"https://github.com/olekolek1000/wayvr-dashboard/raw/refs/heads/meta/dev.oo8.wayvr_dashboard.json",
"https://github.com/StardustXR/telescope/raw/refs/heads/main/envision/org.stardustxr.telescope.json",
// wayvr dashboard potentially unsafe
];
pub async fn refresh_plugins() -> anyhow::Result<Vec<anyhow::Result<Plugin>>> {