Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows store app autostart #1331

Merged

Conversation

tkohlmeier
Copy link
Collaborator

This fixes #1137 by creating a shortcut link with target shell:AppsFolder\\1915OliverSchwendener.Ueli_a397x08q5x7rp!OliverSchwendener.Ueli.

I had to use a quite ugly workaround to check if the file contains the correct target since Electron's readShortcutLink method does return an empty target for Windows store app lnk files.

@tkohlmeier tkohlmeier force-pushed the fix-windows-store-autostart branch from 37857dd to 40e5606 Compare January 26, 2025 16:18
@tkohlmeier tkohlmeier force-pushed the fix-windows-store-autostart branch from 40e5606 to e3a578d Compare January 26, 2025 16:29
@tkohlmeier tkohlmeier enabled auto-merge (squash) January 26, 2025 16:32
Copy link
Owner

@oliverschwendener oliverschwendener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Works like a charm. Thanks for the time and effort

@tkohlmeier tkohlmeier merged commit 6c3d4dd into oliverschwendener:main Jan 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Autostart option does not work when Ueli is installed via Microsoft Store
2 participants