When launching a game with the -dry-run option you will get a command line something like this: It can also help to have Origin already running. Note: The code is only valid for a few minutes, so if you have issues try again with a fresh one. Tip: If you do not have any games installed obtain Spotify from the Epic Games Store website, it is only around 80 Megabytes in size and quickly downloaded.
In order to link your account you need something called an 'exchange code', this can be obtained via legendary by copying the parameters used to launch a game, which in turn can be easily obtained via -dry-run. Linking your account & installing the game
On Windows Origin just needs to be installed and ideally updated to the current version. Origin needs to be installed and working for this, please consult for how to get it running on Linux via Lutris. This can be done manually to still be able to install and download the game without the Epic Games Launcher. The game is not installed or downloaded via Epic, instead the Epic Games Launcher launches Origin to link your account to install the game. Installing Star Wars: Battlefront II with Legendary