BDisp / unlocker

VMware Workstation macOS
MIT License
946 stars 160 forks source link

Create its own backup folder for each OS #17

Closed superbonaci closed 3 years ago

superbonaci commented 3 years ago

I use the same unlocker folder for Windows and Linux, yet they backup into same backup folder with both lnx-install.sh and win-install.cmd. Probably not a good idea. Could be possible to use separate folders for separate OSes?

BDisp commented 3 years ago

@superbonaci in which scenarios do you need backup folder for each OS?

superbonaci commented 3 years ago

I don't understand those questions. What I do is to unlock OSX guests under Linux and Windows using same git clone folder.

BDisp commented 3 years ago

I don't understand those questions. What I do is to unlock OSX guests under Linux and Windows using same git clone folder.

My question is how you can access to the same git clone folder from the OSX guest to the both Windows and Linux.

superbonaci commented 3 years ago

I don't understand those questions. What I do is to unlock OSX guests under Linux and Windows using same git clone folder.

My question is how you can access to the same git clone folder from the OSX guest to the both Windows and Linux.

I don't access it from the guest, only from the host to run lnx-install and win-install.

BDisp commented 3 years ago

I don't access it from the guest, only from the host to run lnx-install and win-install.

What OS is your host?

superbonaci commented 3 years ago

This is the description of the issue. Run win-install.cmd on Windows. It created the backup folder with these contents inside:

backup/
backup/x64
backup/x64/vmware-vmx-debug.exe
backup/x64/vmware-vmx.exe
backup/x64/vmware-vmx-stats.exe
backup/vmwarebase.dll

Then, from the same unlocker folder I run sudo ./lnx-install.sh on Linux, and the contents get overwritten with:

backup/
backup/libvmwarebase.so
backup/vmware-vmx-debug
backup/vmware-vmx-stats
backup/vmware-vmx

I lost my Windows files backup. This is what I mean by having separate backup directories for Windows and Linux. Could you fix this please?

superbonaci commented 3 years ago

thanks a lot works perfect now.