Giter Site home page Giter Site logo

protonup-rs's Introduction

Protonup-rs

Lib, CLI and GUI(wip) program to automate the installation and update of Proton-GE

NOTE: This has no relations with the original ProtonUp project, and I am glad it was created. This is not nearly as feature complete as the original Protonup.

I've create it because the original project had a few issues with its Python dependencies (that most likely got fixed already). I wanted to to re-create it in rust, in a way it could be used as a lib and a CLI. If this repo gets to a stable and feature rich state, I will publish it to Cargo and other repositories. I guess it got there! Thanks!

asciicast

Usage

The default way is to simply invoke the cli, and navigate the text interface.

protonup-rs

To run a quick update and get the latest GE Proton version without navigating the TUI, you can use the quick flags:

  -q, --quick-download                  Download latest directly
  -f, --quick-download-flatpak          Download latest for Steam FlatPak
  -l, --lutris-quick-download           Download latest Wine GE for Lutris
  -L, --lutris-quick-download-flatpak   Download latest Wine GE for Lutris FlatPak
  -h, --help                            Print help

You can also combine them and get all the latest version running:

protonup-rs -q -f -l -L

Installing:

In one line:

wget https://github.com/auyer/Protonup-rs/releases/latest/download/protonup-rs-linux-amd64.tar.gz -O - | tar -xz && zenity --password | sudo -S mv protonup-rs /usr/bin/

This assumes /usr/bin is in your path. You may change this to any other location (in your path echo $PATH).

Or manually:

Get the latest binary: Download link

It is a single binary. You can just run it, or add it to your path so you can call it from anywhere.

Quick way to add it to your path: or download the zip from the releases page

cd Downloads
sudo unzip protonup-rs-linux-amd64.zip -d /usr/bin

Building from source

You can install from source using the last released version in Crates.io:

cargo install protonup-rs

Or clone repo:

cd protonup-rs
cargo build -p protonup-rs --release
mv ./target/release/protonup-rs "your path"

GUI

Not ready for usage.

The GUI is in its early stages. My current plan is to develop it in the iced framework, but GUI development is not my forte.

protonup-rs's People

Contributors

abienz avatar auyer avatar ddotthomas avatar raphgl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.