Try fix instance of pinned entry
This commit is contained in:
1 parent
f7ec2e81a5
commit
e10ec392db
2 files changed
+3
-1
No files matched your search
@@ -47,6 +47,7 @@ function createWindow() {
|
||||
// Set window class explicitly for Linux/GNOME integration
|
||||
title: "QiTech Control",
|
||||
titleBarStyle: "hidden",
|
||||
className: "de.qitech.control-electron"
|
||||
});
|
||||
|
||||
// Set the window class name for Linux WM_CLASS property
|
||||
|
||||
@@ -94,6 +94,7 @@ stdenv.mkDerivation rec {
|
||||
--class=de.qitech.control-electron \
|
||||
--name="QiTech Control" \
|
||||
--single-instance \
|
||||
--winrm-class="de.qitech.control-electron" \
|
||||
"\$@"
|
||||
EOF
|
||||
chmod +x $out/bin/qitech-control-electron
|
||||
@@ -101,12 +102,12 @@ stdenv.mkDerivation rec {
|
||||
# Create desktop entry with consistent application ID
|
||||
cat > $out/share/applications/de.qitech.control-electron.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=QiTech Control
|
||||
Comment=QiTech Industries Control Software
|
||||
Exec=qitech-control-electron %U
|
||||
Icon=de.qitech.control-electron
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupWMClass=de.qitech.control-electron
|
||||
Categories=Development;Engineering;
|
||||
X-GNOME-UsesNotifications=true
|
||||
|
||||
Reference in new issue
Block a user