The-Wineskin-Project / WineskinServer

Wineskin
GNU Lesser General Public License v2.1
2.47k stars 170 forks source link

Changing "Folders link to:" of Desktop Integration in winecfg is not working #561

Open pilisir opened 8 months ago

pilisir commented 8 months ago

Environment (please complete the following information):

Describe the bug Changing "Folders link to:" of Desktop Integration in winecfg is not working.

To Reproduce

  1. Go to '.Wineskin Advanced'.
  2. Click 'Tools' tab and click winecfg under WineTools.
  3. Click 'Desktop Integration' tab, and browsing a new Documents folder.
  4. Select a folder under ~/wherever, click OK to save.
  5. Open a game and quit, after all to check the config files, and they had been created in ~/Documents, not in ~/wherever.
  6. Relaunch Wineskin Advanced to check the settings of "Folders link to:", the path keeps default values seem I never change.

Expected behavior It should accept the change as 2.x wrapper. And games config files would be created to the new(right) path.

Screenshots

SCR-20240326-khny-2
Gcenx commented 8 months ago

You change these setting from Wineskin.app not winecfg.

pilisir commented 8 months ago

@Gcenx, thank your reply.

Yes, I did it via right click menu of MyCoolWrapper.app, selecting Show Package Contents and open the "Contents/Wineskin.app". I always change the folder links in the same way, it used to work with 2.x wrapper, but not this time.

Rastafabisch commented 8 months ago

@pilisir I think you misunderstood @Gcenx. As your screenshot demonstrates, you are still using wine (winecfg) rather than Wineskins native mechanism to change the mappings. While It should work non the less, you might want to take a look at the attached screenshots. This is what @Gcenx did suggest.

Mappings1 Mappings2
pilisir commented 8 months ago

@Rastafabisch Thank you!

I never notice that feature before, the mappings can be modified and saved, but it still doesn't work, and config files has been created in ~/Documents.

When I try to disable the Mappings, and go back winecfg to set folders link again, the paths all becomes empty, and SAVE still change nothing when I reopen winecfg to verify the results.

digitalcohesion commented 7 months ago

I have a couple of games I run and have recently noticed the Templates folder being created in my home folder every time I launch them. I then go in and delete it and it comes right back next time I run the game. I have deleted the mapping, and the change does show in the interface, but it doesn't stop the Template folder from being created.

I think this change started with the 2.0 upgrade and the 3.0 wrapper. I don't recall having this issue before then. I'm guessing this issue is related to what I'm seeing as well. Otherwise the new version seems to be working well for me.

indianajson commented 6 months ago

I can concur that the Templates symbolic link under users>Wineskin>AppData>Roaming>Microsoft>Windows is getting created and continues to exist even when disabling folder mapping.

pilisir commented 5 months ago

FYI, update to Wineskin 3.0.4, and it seems fixed, keeping watch.

pilisir commented 5 months ago

FYI, update to Wineskin 3.0.4, and it seems fixed, keeping watch.

Oh, no, it's broken again. 🥲