fix: admin-version in second window on windoof (incl build)

This commit is contained in:
2026-09-27 16:25:25 +02:00
parent 88ce254037
commit 0ee10a64c1
4 changed files with 98 additions and 33 deletions
+3 -3
View File
@@ -26,7 +26,7 @@ func platformInstallIntegration(installDir string) error {
shortcutPath := filepath.Join(
startMenuDir,
"Logof Client.lnk",
"Logofclient.lnk",
)
if err := os.MkdirAll(startMenuDir, 0755); err != nil {
@@ -58,7 +58,7 @@ func platformRemoveIntegration() error {
shortcutPath := filepath.Join(
startMenuDir,
"Logof Client.lnk",
"Logofclient.lnk",
)
if err := os.Remove(shortcutPath); err != nil && !os.IsNotExist(err) {
@@ -117,7 +117,7 @@ func platformCreateShortcut(
}
// Beschreibung.
if _, err := oleutil.PutProperty(shortcut, "Description", "Logof Client"); err != nil {
if _, err := oleutil.PutProperty(shortcut, "Description", "Logofclient"); err != nil {
return fmt.Errorf("Description konnte nicht gesetzt werden: %w", err)
}