Can I place my portable Windows app outside of .wine/drive_c?

Questions about Wine on Linux
Locked
oldcastle
Level 2
Level 2
Posts: 14
Joined: Tue Mar 15, 2022 8:30 am

Can I place my portable Windows app outside of .wine/drive_c?

Post by oldcastle »

Hi,

I have a portable Windows app and I would like to know if can I place it anywhere on my Linux system, for example /home/castle/Applications, instead of /home/castle/.wine/drive_c/? Is placing the app inside .wine/drive_c/ a best practice?

Thanks,
Castle
mivanchev
Level 2
Level 2
Posts: 14
Joined: Sat Jun 25, 2022 5:13 am

Re: Can I place my portable Windows app outside of .wine/drive_c?

Post by mivanchev »

Theoretically yes because / is mapped as the drive Z: in Wine. Try to access the game through Z:\home\castle\Applications\...
Is placing the app inside .wine/drive_c/ a best practice?
That depends on the case, if you go through an official installer it might be better. If you want something shared between multiple Wine prefixes, your solution would be better.
oldcastle
Level 2
Level 2
Posts: 14
Joined: Tue Mar 15, 2022 8:30 am

Re: Can I place my portable Windows app outside of .wine/drive_c?

Post by oldcastle »

Thanks.

I asked this question because I see my self deleting .wine/drive_c very often. So, if I put my app inside .wine/drive_c, I may one day delete it by mistake.
mivanchev
Level 2
Level 2
Posts: 14
Joined: Sat Jun 25, 2022 5:13 am

Re: Can I place my portable Windows app outside of .wine/drive_c?

Post by mivanchev »

That makes sense to me!
Locked