Whisky icon indicating copy to clipboard operation
Whisky copied to clipboard

[Feature]: Locale support for ClickOnce apps

Open maemigh opened this issue 2 years ago • 4 comments

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

  • [X] Yes my issue is written in English

maemigh avatar Apr 13 '24 10:04 maemigh

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.

IsaacMarovitz avatar Apr 27 '24 03:04 IsaacMarovitz

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?

maemigh avatar Apr 27 '24 11:04 maemigh

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?

Can you please explain how do you run .appref-ms files? I need run it too,but i don't understand what i would do.

zhmrsk avatar Aug 30 '24 11:08 zhmrsk