6 releases (stable)
2.0.0 | Mar 23, 2023 |
---|---|
1.3.1 | Feb 11, 2023 |
1.1.0 | Jan 17, 2023 |
0.1.0 | Jan 16, 2023 |
#2419 in Command line utilities
46KB
1K
SLoC
diverter
Switch between Steam accounts without relogging on Windows.
Usage
Typical usage is as follows:
diverter set my_other_account -r # change account and restart Steam
The set <username>
command will have Steam attempt to log in to the other account on its next launch.
The -r
/ --restart
means to restart Steam, starting the switch immediately.
--restart
kills the Steam process ungracefully (see implications below), alternatively you can use -g
/ --graceful
for a graceful restart. Additionally you can complement an ungraceful restart with the -v
/ --verify
flag to allow Steam to verify files after it restarts.
diverter set my_other_account -r # restart ungracefully
diverter set my_other_account -g # restart gracefully
diverter set my_other_account -v # restart ungracefully but verify files
Tip: Restarting Steam ungracefully is much quicker but can cause data corruption, so it's a good idea to restart gracefully when you think Steam might be in the middle of a filesystem operation, such as when you're downloading a game, uploading your save to the Steam Cloud, etc.
See --help
for complete usage documentation.
Installation
Download the latest release, or build using cargo from source via cargo install diverter
.
Dependencies
~1.1–2.3MB
~42K SLoC