Repair Tray
This commit is contained in:
@@ -49,6 +49,7 @@ declare -A MAP=(
|
|||||||
["steam"]=""
|
["steam"]=""
|
||||||
["org.prismlauncher.PrismLauncher"]=""
|
["org.prismlauncher.PrismLauncher"]=""
|
||||||
["Minecraft* 1.21.11"]=""
|
["Minecraft* 1.21.11"]=""
|
||||||
|
["game"]=""
|
||||||
# Digital Arts
|
# Digital Arts
|
||||||
["Blender"]=""
|
["Blender"]=""
|
||||||
["Krita"]=""
|
["Krita"]=""
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ Row { // Workspace Row
|
|||||||
let src = modelData.icon;
|
let src = modelData.icon;
|
||||||
|
|
||||||
// Check if there is a "?" in the URL (custom path)
|
// Check if there is a "?" in the URL (custom path)
|
||||||
if (src.includes('?')) {
|
if (src.includes('goxlr')) {
|
||||||
let pathMatch = src.match(/path=([^&]+)/);
|
let pathMatch = src.match(/path=([^&]+)/);
|
||||||
if (pathMatch && pathMatch[1]) {
|
if (pathMatch && pathMatch[1]) {
|
||||||
|
|
||||||
@@ -103,6 +103,7 @@ Row { // Workspace Row
|
|||||||
let segments = folderPath.split('/');
|
let segments = folderPath.split('/');
|
||||||
let fileName = segments[segments.length - 1] + "-icon.png";
|
let fileName = segments[segments.length - 1] + "-icon.png";
|
||||||
console.log("########## filename: " + fileName)
|
console.log("########## filename: " + fileName)
|
||||||
|
console.log("########## icon: " + modelData.icon)
|
||||||
src = "file://" + pathMatch[1] + "/" + fileName;
|
src = "file://" + pathMatch[1] + "/" + fileName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user