first commit

This commit is contained in:
2020-12-09 17:35:53 +01:00
commit 4b73d6cdf0
8 changed files with 274 additions and 0 deletions

4
epic-download Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
game="$(legendary list-games |grep "$1" |awk '{for (I=1;I<=NF;I++) if ($I == "(App" && $(I+1) == "name:") {print $(I+2)};}')"
legendary install "$game"
echo -e "[Desktop Entry]\nName=$1\nExec=legendary launch $game" > ~/.local/share/applications/"$1".desktop