- Download the release from your platform on the releases page on the right side of this page
- Open the gtk-periodic-table-*****.zip file and copy the contents to an empty folder somewhere
- DO NOT move any of the included files into a seperate folder
- Double click the file that says "gtk-periodic-table" or "gtk-periodic-table.exe"
If you don't know what this is, don't do this
- Most distros come with gtk4 preinstalled, if yours doesn't, use sudo pacman -S gtk4 or sudo apt install libgtk-4-dev (Probably, I don't use debian)
- Install rust with curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh or use your distro's package manager
- Clone this repository with git clone https://github.com/SirAlienTheGreat/gtk-periodic-table, then cd into this directory
- Build with cargo build --release
- You may need to chmod +x gtk-periodic-table, or it may have permission to run with ./gtk-periodic-table by default
- Download and install MSYS2 at https://www.msys2.org/
- Download and install rust with the .exe file at https://www.rust-lang.org/ but when it asks if you want a custom installation, answer yes, and change the toolkit to x86_64-pc-windows-gnu
- Open the MinGW shell. This is a Linux-like build environment for windows.
- Install dependencies by running pacman -S mingw-w64-x86_64-gtk4 and pacman -S mingw-w64-x86_64-toolchain
- Clone this repository with git clone https://github.com/SirAlienTheGreat/gtk-periodic-table, then cd into this directory
- Build with cargo build --release
- Pray to your favorite god, because this never works for me, and this sometimes seems to fix itself randomly
- cd into target/release and add the .dlls with ldd gtk-periodic-table.exe | grep '\/mingw64\/bin\/.*dll' -o | xargs -I{} cp "{}" . (the period is part of the command)
- You can open file explorer and go to your MSYS2 installation folder (By default, C:msys2)/home/[USERNAME]/gtk-periodic-table-main/target/release and run gtk-periodic-table.exe