first commit
This commit is contained in:
4
epic-download
Executable file
4
epic-download
Executable 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
|
||||
Reference in New Issue
Block a user