mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
feat(Notepad): add notepad desktop entry & IPC commands file handling
This commit is contained in:
@@ -165,6 +165,16 @@ Singleton {
|
||||
|
||||
readonly property string dmsLogoPath: Qt.resolvedUrl("../assets/danklogo2.svg")
|
||||
|
||||
// Prevent desktop entry duplicates from core apps
|
||||
readonly property var builtInShadowDesktopIds: ["com.danklinux.dms.notepad"]
|
||||
|
||||
function isShadowedByCoreApp(app) {
|
||||
if (!app)
|
||||
return false;
|
||||
const id = (app.id || "").replace(/\.desktop$/, "");
|
||||
return builtInShadowDesktopIds.includes(id);
|
||||
}
|
||||
|
||||
readonly property var builtInPlugins: ({
|
||||
"dms_settings": {
|
||||
id: "dms_settings",
|
||||
|
||||
Reference in New Issue
Block a user