phoenicis icon indicating copy to clipboard operation
phoenicis copied to clipboard

Winetricks works with your Flatpak-App

Open cryinkfly opened this issue 3 years ago • 2 comments

Expected behavior

Is it possible that winetricks workswith your Flatpak-App?


Actual behavior

It's possible to use winetricks with your Flatpak-App, when you download winetricks itself.

1.) Go to the website: https://github.com/Winetricks/winetricks and download there the newest version of winetricks.

#1 4_winetricks

... when you click on this link, so you come to this site:

#1 1_winetricks

... then you must copy all (text), create a new file with the name "winetricks", insert the text into the file, save this and change this:

#1 2 1_winetricks

2.) When have opened your program (Phoenicis PlayOnLinux (Flatpak)), then you must change to this site:

#1 3_winetricks

... and there you must click on "Open a terminal" (This can you see on the right sidebar!).

3.) Then you change to your place, where you have saved your file (winetricks).

4.) ... and run this command: sh winetricks

#1 3 2_winetricks

5.) Finish.


Steps to reproduce

1.) Change the settings:

#1 4_winetricks

2.) Go to "Apps",click on Local Installer and on "Next":

#1 4 1_winetricks

3.) Give this a name:

#1 4 2_winetricks

4.) Click on "Next"

#1 4 3_winetricks

5.) Now you must select your EXAMPLE.exe, but in my case I have created a my own EXE (file). You can make this, when you create a file like this: EXAMPLE.exe , so it's not so important, that this file is a real EXE, but we need this!

6.1.) Click on "Next"

#1 4 4_winetricks

7.) Select "x86" or "x64" (I have selected x64).

#1 4 5_winetricks #1 4 6_winetricks #1 4 7_winetricks #1 4 8_winetricks

8.) You must close this! (We cancel the installation.)

#1 4 9_winetricks

9.) And now you can look to "Actual behavior"

#1 5_winetricks


System information

  • Software version (git revision) of phoenicis and scripts repositories: 5.0-alpha-3 (Flatpak)
  • Operating system: openSUSE Leap 15.3 Beta
  • Java version:
    • openjdk 11.0.10 2021-01-19
    • OpenJDK Runtime Environment (build 11.0.10+9-suse-3.53.1-x8664)
    • OpenJDK 64-Bit Server VM (build 11.0.10+9-suse-3.53.1-x8664, mixed mode)

cryinkfly avatar Apr 23 '21 16:04 cryinkfly

While this can work, it's a deliberate decision that we do not support it. That being said, we have the concept of "Verbs" which provide similar functionality.

In any case, I would suggest to first create a script for your desired application, see: https://github.com/PhoenicisOrg/scripts.

plata avatar Apr 26 '21 15:04 plata

@plata Okay. Thank you for your answer. I check this out. :-)

cryinkfly avatar Apr 28 '21 11:04 cryinkfly