Skip to content

loloof64/resize-my-knight

Repository files navigation

Resize my knight

Just resize the window : and so will the knight.

Building

Prerequesites

  • install Rustup
  • install Podman

Windows

From Windows

  1. cargo build --release
  2. The binary will be in subfolder target/release

From Linux

  1. cargo install cross
  2. rustup toolchain install x86_64-pc-windows-gnu
  3. cross build --target x86_64-pc-windows-gnu
  4. The binary will be in subfolder target/release/x86_64-pc-windows-gnu

Linux (AppImage)

  1. podman build -t resize-my-knight .
  2. podman run --rm -ti -v #MyShareFolder#:/share localhost/resize-my-knight:latest /bin/bash where #MyShareFolder# is the folder you want to share, in your host system, with the container. So inside the container :
    1. cp *.AppImage /share
    2. exit So that the built AppImage will be in your shared folder.

CREDITS

Knight vector has been taken from Wikimedia Commons.

Icon has been downloaded from FreePik.