I'm making an exe file that I want to be able to have run on both Linux and Windows, but I don't want the exe to have to run in grub. I need it to be an exe as I need it to have basically the same codebase as the windows version as that is what a friend is helping to develop.
I want to know how I could create some script or something that would allow running an exe file in ubuntu without the separation of wine. This is a program to help encrypt programs and such and uses some build in windows-based programs that it runs api triggers on so I need it to be able to interact with the filesystem directly as root.
Any ideas on how I would do this? Just to recap I don't just want to be able to run a windows program in an emulator, I want to be able to run them natively with direct access to the filesystem.