mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-17 00:34:01 -04:00
app picker: strip desktop suffix when resolving mime handlers (#3710)
This commit is contained in:
@@ -152,7 +152,8 @@ DModal {
|
||||
const normId = _normAppId(rawId);
|
||||
if (normId === "dms-open" || listedIds.has(normId))
|
||||
continue;
|
||||
const entry = DesktopEntries.byId(rawId) || DesktopEntries.heuristicLookup(rawId);
|
||||
const desktopId = rawId.replace(/\.desktop$/, "");
|
||||
const entry = DesktopEntries.byId(desktopId) || DesktopEntries.heuristicLookup(desktopId);
|
||||
if (!entry)
|
||||
continue;
|
||||
const name = entry.name || "";
|
||||
|
||||
Reference in New Issue
Block a user