Skip to content

Instantly share code, notes, and snippets.

@kaosf
Created May 26, 2023 04:54
Show Gist options
  • Save kaosf/598374260e8275b6b5663b6ad86725d7 to your computer and use it in GitHub Desktop.
Save kaosf/598374260e8275b6b5663b6ad86725d7 to your computer and use it in GitHub Desktop.
Install Rust, Build AikatsuDOWN, and Run it; Experiment on Sakura Cloud Shell (ref. https://www.sakura.ad.jp/services/cloudshell/)
tmux
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source .cargo/env
sudo apt install tig
git clone https://github.com/kaosf/AikatsuDOWN
cd AikatsuDOWN
git checkout no-deps
# git checkout 66402fefe8b65ad4f9b60367ba8bb5791ee2c72c
cargo build --release
# vi /tmp/run.sh
cat <<'EOF' > /tmp/run.sh
set -ex
time ./target/release/aikatsu_down
# ./target/release/aikatsu_down
cd target/images
sha256sum -c checksum.sha256
EOF
bash /tmp/run.sh
# Ctrl-B " (split window)
# Ctrl-B o (change current pane)
# Ctrl-B d (detach)
@kaosf
Copy link
Author

kaosf commented May 26, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment