Repair Tray

This commit is contained in:
Hannes
2026-02-25 21:10:26 +01:00
parent 2387e34736
commit bcaaad1b7c
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -94,7 +94,7 @@ Row { // Workspace Row
let src = modelData.icon;
// Check if there is a "?" in the URL (custom path)
if (src.includes('?')) {
if (src.includes('goxlr')) {
let pathMatch = src.match(/path=([^&]+)/);
if (pathMatch && pathMatch[1]) {
@@ -103,6 +103,7 @@ Row { // Workspace Row
let segments = folderPath.split('/');
let fileName = segments[segments.length - 1] + "-icon.png";
console.log("########## filename: " + fileName)
console.log("########## icon: " + modelData.icon)
src = "file://" + pathMatch[1] + "/" + fileName;
}
}