An open API service indexing awesome lists of open source software.

https://github.com/mxve/plutonium-updater.rs

Multi-platform Plutonium.pw updater written in rust
https://github.com/mxve/plutonium-updater.rs

bo2 call-of-duty callofduty cli game games gameserver linux mw3 plutonium plutoniumiw5 plutoniumt4 plutoniumt6 rust server updater waw windows

Last synced: about 16 hours ago
JSON representation

Multi-platform Plutonium.pw updater written in rust

Awesome Lists containing this project

README

          

![](https://img.shields.io/github/actions/workflow/status/mxve/plutonium-updater.rs/push.yml?label=Build%20status&style=for-the-badge) [![](https://img.shields.io/github/v/release/mxve/plutonium-updater.rs?label=Latest%20release&logo=github&style=for-the-badge)](https://github.com/mxve/plutonium-updater.rs/releases/latest) ![](https://img.shields.io/github/downloads/mxve/plutonium-updater.rs/total?label=total%20downloads&style=for-the-badge)

# Plutonium CLI Updater

![](github_assets/preview.gif)

### Download
- [Windows](https://github.com/mxve/plutonium-updater.rs/releases/latest/download/plutonium-updater-x86_64-pc-windows-msvc.zip)
- [Linux](https://github.com/mxve/plutonium-updater.rs/releases/latest/download/plutonium-updater-x86_64-unknown-linux-gnu.tar.gz)

### Quick Start
#### Windows
1. Download and unzip
2. Run `plutonium-updater.exe`

#### Linux/MacOS
```bash
# Extract
tar xfv plutonium-updater-*.tar.gz
# Make executable
chmod +x plutonium-updater
# Run
./plutonium-updater
```

### Example Scripts
#### Windows (update.bat)
```batch
@echo off
set installDir=C:\your_pluto_directory
plutonium-updater.exe -d "%installDir%"
```

#### Linux/MacOS (update.sh)
```bash
#!/bin/bash
INSTALLDIR=/home/pluto/pluto_dir
./plutonium-updater -d "$INSTALLDIR"
```

### Arguments
- ```-d, --directory ``` - Install directory (default: "plutonium")
- ```-f, --force``` - Force file hash check
- ```-l, --launcher``` - Download launcher assets
- ```-q, --quiet``` - Hide file actions
- ```-s, --silent``` - Hide all non-error output
- ```-c, --check``` - Check for updates (exit: 0=current, 1=outdated)
- ```--version-local``` - Print local version
- ```--version-cdn``` - Print latest version
- ```--no-color``` - Disable colors
- ```--backup``` - Create backup while updating
- ```--manual-backup``` - Create/update backup
- ```--backup-list``` - List backups
- ```--backup-restore ``` - Restore backup
- ```--cdn-url``` - Override CDN URL
- ```-e, --exclude ``` - Exclude file/folder from update
- ```--threads ``` - Number of download threads (default: 2)

### Building from Source
1. Install [Rust](https://rustup.rs/)
2. Clone repository
3. Build: ```cargo build --release```
4. Binary location: ```target/release/plutonium-updater(.exe)```

### Exit Codes
- 0: Success
- 1: Update available (with --check)
- 101: Error