mirror of
https://github.com/rfvgyhn/min-ed-launcher.git
synced 2026-02-04 09:25:24 +00:00
update readme to use legendary's get-token command instead of brittle grep + sed
This commit is contained in:
19
README.md
19
README.md
@ -123,13 +123,18 @@ Either configure the Epic client and use the provided Bootstrap exe or use [lege
|
|||||||
`legendary.exe launch 9c203b6ed35846e8a4a9ff1e314f6593 --override-exe MinEdLauncher.exe /autorun /edo /autoquit`
|
`legendary.exe launch 9c203b6ed35846e8a4a9ff1e314f6593 --override-exe MinEdLauncher.exe /autorun /edo /autoquit`
|
||||||
|
|
||||||
##### Linux
|
##### Linux
|
||||||
This method utilizes [legendary].
|
This method utilizes [Legendary].
|
||||||
|
|
||||||
1. Ensure you've authenticated, installed Elite Dangerous via [legendary] and setup your wine prefix
|
1. Ensure you've authenticated, installed Elite Dangerous via [legendary] and setup your wine prefix
|
||||||
2. Use the `--dry-run` flag and pass the arguments to `MinEdLauncher` via command substitution
|
2. Pass an exchange code to the launcher by either
|
||||||
```sh
|
1. Using the `--dry-run` flag and passing the arguments directly to `MinEdLauncher` via command substitution
|
||||||
WINEPREFIX=/your/wine/prefix /path/to/MinEdLauncher $(legendary launch --dry-run 9c203b6ed35846e8a4a9ff1e314f6593 2>&1 | grep "Launch parameters" | cut -d':' -f 3-) /autorun /edo /autoquit
|
```sh
|
||||||
```
|
WINEPREFIX=/your/wine/prefix /path/to/MinEdLauncher $(legendary launch --dry-run 9c203b6ed35846e8a4a9ff1e314f6593 2>&1 | grep "Launch parameters" | cut -d':' -f 3-) /autorun /edo /autoquit
|
||||||
|
```
|
||||||
|
2. Using the `get-token` command and passing it to `MinEdLauncher` via Steam and command substitution
|
||||||
|
```shell
|
||||||
|
steam -gameidlaunch 359320 -auth_password=$(legendary get-token 2>&1 | cut -d':' -f 3- | xargs)
|
||||||
|
```
|
||||||
|
|
||||||
#### Frontier
|
#### Frontier
|
||||||
1. Download the [latest release] for Windows
|
1. Download the [latest release] for Windows
|
||||||
@ -285,9 +290,9 @@ There is rudimentary support for running your Epic account via Steam. Running a
|
|||||||
In order to authenticate with an Epic account:
|
In order to authenticate with an Epic account:
|
||||||
1. Get an Epic exchange code. This part is really clunky and will need to be done for every launch as the exchange code expires after one use.
|
1. Get an Epic exchange code. This part is really clunky and will need to be done for every launch as the exchange code expires after one use.
|
||||||
|
|
||||||
* **Legendary** - Extract the code via [legendary]'s `--dry-run` option.
|
* **Legendary** - Get a code via [Legendary].
|
||||||
```sh
|
```sh
|
||||||
legendary launch --dry-run 9c203b6ed35846e8a4a9ff1e314f6593 2> >(grep AUTH_PASSWORD) | sed -ne 's/^.*-AUTH_PASSWORD=\([a-z0-9]*\).*$/\1/p'
|
legendary get-token
|
||||||
```
|
```
|
||||||
* **Manually** - Within the Epic launcher, click your username and select manage account. This will open a browser. The URL will contain an `exchangeCode=code`
|
* **Manually** - Within the Epic launcher, click your username and select manage account. This will open a browser. The URL will contain an `exchangeCode=code`
|
||||||
parameter. Copy the code before the page is redirected (can just hit the stop button in your browser).
|
parameter. Copy the code before the page is redirected (can just hit the stop button in your browser).
|
||||||
|
|||||||
Reference in New Issue
Block a user