mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-19 19:14:53 +00:00
fix: disable and blacklist wayvr dashboard plugin
This commit is contained in:
parent
2f5ec57a0a
commit
7a02fcc5d1
2 changed files with 6 additions and 2 deletions
|
@ -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!(
|
||||
|
|
|
@ -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>>> {
|
||||
|
|
Loading…
Add table
Reference in a new issue