Gcenx / macOS_Wine_builds

Official Winehq macOS Packages
461 stars 23 forks source link

Full disk access in Catalina 10.15.4 or higher without prompts #6

Closed juanfcocontreras closed 3 years ago

juanfcocontreras commented 3 years ago

I'm trying to make a bundle application with your compiled version "wine-crossover-19.0.1", specifically I'm trying to run the SFTP client WinSCP (https://winscp.net, a 32-bit only Windows application).

I've managed to make it work properly, but despite being in Catalina 10.15.6, in WinSCP I can't navigate through the protected folders (Downloads, Desktop...), they appear empty. I have tried to give manual full access to the app bundle, as well as to the wine32on64 and wine32on64-preloader executables without being able to see the content of these folders from WinSCP.

Can you think of a way to give it permission?

I attach the bundle launcher in case it provides you information: WinSCP.zip

Thanks a lot in advance!


This issue was originally posted in: https://github.com/Gcenx/WineskinServer/issues/26

In the original post you answered "package using tar.gz/dmg/7z, zip archives don’t maintained symlinks"

I don't think I understand what you mean. If you want, I can upload the whole application so you can check that the links seem to work well.

Gcenx commented 3 years ago

In the original post you answered "package using tar.gz/dmg/7z, zip archives don’t maintained symlinks"

I don't think I understand what you mean. If you want, I can upload the whole application so you can check that the links seem to work well.

The reason for this is zip archives don't maintain symlinks as those are used within wine crossover bundle to shrink the size it can also cause other issues.

Yes please provide the whole application that would give me a better indication of what might be setup incorrectly.

juanfcocontreras commented 3 years ago

Yes please provide the whole application that would give me a better indication of what might be setup incorrectly.

Here it is: WinSCP.app.zip

The first time it's launched, it gives a warning I haven't yet managed to identify ("invalid drive"). I guess adding a correctly pre-configuration file to it can avoid it.

Thanks a lot in advance!

Gcenx commented 3 years ago

The info.plist is missing rather a few needed entries and creating a prefix within an app bundle without permission correction handling isn't a good idea, take a look at https://github.com/nrlquaker/winbox-mac that's one of the more correctly configured none Wineskin app bundles that I know of

Gcenx commented 3 years ago

Closing due to inactivity