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

[Feature]: Locale support for ClickOnce apps #926

Open
1 task done
maemigh opened this issue Apr 13, 2024 · 2 comments
Open
1 task done

[Feature]: Locale support for ClickOnce apps #926

maemigh opened this issue Apr 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@maemigh
Copy link

maemigh commented Apr 13, 2024

Is your feature request related to a problem?

ClickOnce apps don't appear to appear as an installed application, so locale can't be set. Whisky also cannot directly open .application files (however, can Open With... Whisky when right clicking file).

Describe the solution you'd like

I specifically need to set the environment variable LC_ALL=ja_JP when running the app. I'm not sure if the per-app settings do this, but per-app settings do not seem to be available for ClickOnce apps as they don't appear as an installed application.

Alternatively, a way to configure environment variables per Bottle would also work.

Anything else?

I can run the app if I run from the command line while setting LC_ALL=ja_JP

Issue Language

  • Yes my issue is written in English
@maemigh maemigh added the enhancement New feature or request label Apr 13, 2024
@IsaacMarovitz
Copy link
Member

I'm unfamiliar with the structure of ClickOnce apps, but there should be an exe getting launched somewhere. Could you read the manifest and find the location of this executable? In that case you could add it to the pinned application list.

@maemigh
Copy link
Author

maemigh commented Apr 27, 2024

I figured out the way to run it:
rundll32.exe dfshim.dll,ShOpenVerbShortcut C:\users\crossover\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\App Folder\AppNameHere.appref-ms

Clickonce apps add the .appref-ms file to the start menu, so I guess it would be nice if Whisky could auto-launch files with this extension with rundll32.exe dfshim.dll,ShOpenVerbShortcut and allow them to be added with Pin Program.

Wonder whats happening behind the scenes for the right-click Open With menu method to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants