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

Add support for UWP apps #129

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

scaryrawr
Copy link
Contributor

Attempt at adding UWP support #119

@@ -0,0 +1,3 @@
<svg width="25.6" height="25.6" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same icon as cmd.

@scaryrawr scaryrawr marked this pull request as ready for review December 1, 2020 00:50
@scaryrawr
Copy link
Contributor Author

image

FULL_NAME="The new Windows Terminal"

# The executable inside windows
WIN_EXECUTABLE="explorer.exe"

Choose a reason for hiding this comment

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

isn't the executable wt.exe?

Copy link

@KernelGhost KernelGhost Jul 21, 2024

Choose a reason for hiding this comment

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

Windows Terminal is located at %LocalAppData%\Microsoft\WindowsApps\wt.exe.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, this PR is very old, but it's trying to launch the UWP using the package family name

UWP_CMD="shell:appsFolder\\${PACKAGE_FAMILY_NAME}!${APP_ID}"
APP_ARGS="${UWP_CMD} \"${FILE}\""

xfreerdp ${RDP_FLAGS} /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} +auto-reconnect +clipboard +home-drive -wallpaper /scale:${RDP_SCALE} /dynamic-resolution /${MULTI_FLAG} /wm-class:"${FULL_NAME}" /app:"${WIN_EXECUTABLE}" /app-icon:"${ICON}" /app-cmd:"${APP_ARGS}"

I think there's a way to list all installed UWP apps and grab their PFN and was hoping avoid having to deal with exes.

@oskardotglobal
Copy link

@scaryrawr I know this PR is very old but if you're still willing to get this merged you can PR over at https://github.com/winapps-org/winapps where we organized an updated fork since Fmstrat abandoned the project.

@KernelGhost
Copy link

I have added UWP application support as per winapps-org/winapps#186.

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.

4 participants