Donut.c is a fully working donut-shaped application that generates a donut on screen! Pretty cool, if i may say so myself!
To install, simply:
git clone --depth 1 https://github.com/ElisStaaf/Donut.c ~/donut
If you want to, you can add an alias to the script:
Linux
echo "alias donut=\"bash ~/donut/init.sh\"" >> "~/.bashrc"
Windows
"function donut {
~/donut/build/donut.exe
}" >> $env:USERPROFILE/Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
If you are running this application on a system that supports .sh
scripts, you can run the init.sh
script
to start up the donut. If not; you can run the .exe file directly:
Via .sh script:
# Replace the "bash" with the shell you want to run the script with.
bash ~/donut/init.sh
Via .exe file:
$env:USERPROFILE/donut/build/donut.exe
You would ideally run the init.sh
script, as it provides error handling and other stuff,
but it isn't needed.