Closed Peneheals closed 3 years ago
Wyvern on Catalina:
brew install rust
cargo install wyvern
printf "%s" "export PATH=\"\$PATH:\$HOME/.cargo/bin\"" >> $HOME/.bashrc
. $HOME/.bashrc
read USERNAME
wyvern login --username USERNAME
wyvern down -w -i 1207658787 -o $HOME/Downloads/
Of course, Rust&Cargo installation from source on Yosemite with brew is not working :-/
Sierrán is elhal a rust install. Source-ből sem megy fel, így kénytelenek leszünk elé újabb user inputot bekérni, és kettébontani a folyamatot: 1: old mac os-nél megy a figyelmeztetés és a manuális yes beírogatás, újabbnál meg mehet a rust install. esetleg három irányú is lehet az egész, amennyiben a közepesen réginél csak a rust sima installja hal el, de mondjuk forrásból telepíthető, míg újabb os-nél meg a sima brew install is működik.
Yosemite on 2015 16gb i5@2.9GHz (without Rust, Cargo and auto DL of files): 35 min El Capitan on 2015 8g i5@2.7GHz (without Rust, Cargo and auto DL of files): 30 min Sierra on 2015 8gb i5@2.7GHz: 5.5 hr HS on 2017 8gb i5@2.3GHz: 2.5 hr Mojave on 2017 16gb i7@2.5GHz: 20 min
Error: No such keg: /usr/local/Cellar/git
/bin/bash: line 189: ((: 16 = 14: attempted assignment to non-variable (error token is "= 14")
Warning: Calling brew install --env is deprecated! Use `env :std` in specific formula files instead.
Sierra bug: wyvern is not in $PATH after cargo install and before gog login.
Sierra: homm installer asks for mono and gecko. Maybe we should use the relevant export before the install runs?
Maybe we should ask the user to press any button before we move forward to gog login. I think the auth token expires after some minutes and therefore the login cant be succesful.
Use one of the existing methods to automatize as much the whole process as possible. We can dl from gog.com with https://github.com/nicohman/wyvern
OR https://github.com/Sude-/lgogdownloaderTasks:
Tests: