Whisky-App / Whisky

A modern Wine wrapper for macOS built with SwiftUI
https://getwhisky.app
GNU General Public License v3.0
12.75k stars 270 forks source link

[Feature]: Be able to run a command after the run #354

Open BND10706 opened 1 year ago

BND10706 commented 1 year ago

Is your feature request related to a problem?

I am trying to play a older game to get around the old launcher which does not work, the method is to add a "patchme" after the run line.

In wine this is easy, there is a run command that runs the file. Adding that feature here would be awesome.

Describe the solution you'd like

There should be an ability to add a run command... example

run 'c:\my game\game.exe' patchme

Anything else?

I can provide a greater example but wine and crossover both have this. It would be a great feature.

Issue Language

tarasis commented 1 year ago

I concur this would be useful. I've just run into an issue with the Temple+ patch installer which requires running as a normal user rather than Administrator.

In theory in Wine/Crossover you would run the command wine runas /trustlevel:0x20000 ~/Downloads/TheNameOfTheExe.exe but that unfortunately doesn't seem possible in Whisky.