Fix `tmux` sessions
This will create a new session named `topgrade`, `topgrade-1`,
`topgrade-2`, using the first nonexistent session name it finds. That
session will have a window in it named `topgrade` in which `topgrade` is
run. If `topgrade --tmux` is being run from within tmux, it won't attach
to the new tmux session. If the user is not currently in tmux, it will
attach to the newly-created session.
Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
* Bump minimum Rust version to 1.60
As required by the `time` crate (`notify-rust` > `mac-notification-sys` > `time`).
* Simplify CI
Changes:
- Bump `actions/checkout` to v3, fixing a bunch of warnings.
- Replace unmaintained `actions-rs/cargo` by `dtolnay/rust-toolchain`.
- Run Rustfmt only once.
- Add support for cached dependencies (via `Swatinem/rust-cache`).
* Add Android target
Use the awesome `cross` tool for cross-compiling!
* Add FreeBSD target
* Closes#150 please disable distrobox by default (#151)
* Check if distrobox exists before running step
* Improve help prompt value names (#153)
* 159 self update error message with standalone versions (#161)
* Rename back to topgrade
* Bugfix Version bump
* Changes reference to topgrade-rs in self-update
* Fixes distrobox errors (#160)
* Rename back to topgrade
* Bugfix Version bump
* Check if distrobox exists before running step
* Fixed sitrobox and version bump
* Version bump to 10.1.2
Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
* Changes windows get_wsl_distribution argument
* changes in get_wsl_distributions
* changes in run_wsl_topgrade due to clippy errors
* Resolves needless borrow
* Quote arguments when executing in a shell
Fixes#107
* Parse quotes in `tmux_arguments`
This makes it possible to encode spaces in arguments. Maybe the config
value should be an array instead?
* Print error causes
Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>