I made a batch file to switch between EADesk and Origin (+ to fix Frosty Mods)
I made a simple batch file which toggles between EADesk and Origin on open, can be really helpful if you still need origin for features such as repair game, uninstall game, or using frosty mod manager, but also prefer using EADesk when not needing those features
Paste the above pastebin code into notepad or text editor of your choosing and save as "anything".bat
Me and a couple other modders made another batch file which uses environment variables to set the modded datapath. This is because EA Desktop does not support launching a game with CMD line arguments (which causes issues outside of modding EA games). Frosty Mod Manager/Editor uses a command line argument to change the game's datapath to the modded one when launching the game through that, which does not work with EA Desktop
https://pastebin.com/raw/JfudJp8Z
Paste the above pastebin code into notepad or text editor of your choosing and save as "anything".bat. This NEEDS to be disabled before launching any other EA game as changing the env variable affects all frostbite games.
The second batch file is exclusive to Battlefront 1-2 but support for other frostbite games can be added
EDIT:
I've been needing to learn how to do actual programming other than batch and html and stuff so I decided to learn some basic C# and made a simple program to replace the batch file: https://github.com/Dulana57/FrostyFix