# i2pd-launcher
[](https://crates.io/crates/i2pd-launch)
[](https://unlicense.org)
[](https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html)
[](https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html)
[](https://deps.rs/repo/gitlab/hsn10/i2pd-launch)
[](https://crates.io/crates/i2pd-launch/versions)
[](https://github.com/XAMPPRocky/tokei)
## About
This program deletes current [i2pd router](https://i2pd.website) state files containing routerid,
proxy local destinations and interfaces id
and then starts i2pd with clean state.
## Platforms
*i2pd-launch* works only on [Scoop](https://scoop.sh) i2pd installations. Installation can be global or user.
### Retry strategy
If file to be deleted exists but can not be deleted, delete will be retried several times.
This happens due to antivirus or search indexer interference.
*i2pd-launch* will continue with starting i2pd even if some state files could not be deleted.
## Requirements
1. Install [Scoop](https://scoop.sh) - A command-line installer for Windows.
2. scoop install i2pd
3. cargo install i2pd-launch
## Arguments
No command line arguments are used by _i2pd-launch_.
## Return codes
- 0 Success
- 1 No scoop i2pd installation detected
- 2 i2pd executable not found
- 3 This program supported only on Windows
- 4 Not all state files were succesfully deleted
## License
This is free and unencumbered software released into the public domain.
This code can be used under terms of [CC0](https://creativecommons.org/publicdomain/zero/1.0/) or
the [Unlicense](https://unlicense.org).
