Making a File Run a Terminal command?

I installed an app from a zipped file (lutrus) because the one in pacman and AUR was outdated and wasnt working for me, this worked but the problem is that i have to open the terminal and run two commands, is there a way for me to create a file which will run those commands for me if i double click on it (so i can put it on the task manager and desktop)?
The commands ive gotta run is:
$ source ~/lutris/bin/activate
$ lutris

  1. If not exist create the folder ~/.local/bin
  2. Create bash script in ~/.local/bin with the commands you need
  3. Make the script executable
  4. If not exist create the folder ~/.local/share/applications
  5. Create a launcher in (.desktop) file the folder pointing to your script

thank you

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.