HeroicBashLauncher icon indicating copy to clipboard operation
HeroicBashLauncher copied to clipboard

Zenity clean up

Open eresonance opened this issue 2 years ago • 5 comments

Hey, I wanted to run your stuff from a git checkout directly, as well as being able to run it from a ssh terminal instead of needing to be directly on the deck. Check these changes out, fairly minor but just cleanup the use of zenity.

eresonance avatar Apr 16 '22 04:04 eresonance

The diff is a bit hard to read, but the argparse stuff is totally backwards compatible. That's important since people will already have .sh scripts with a particular use of the HeroicBashLauncher.

The intent of the makefile is to just help with testing and get the paths correct for where the launcher exe should end up. I guess you can update it if you want to put a release script together (if you don't already have one). Don't include the makefile in your releases. Not a fan of make, at all, I need to learn how to use meson or something...

eresonance avatar Apr 16 '22 19:04 eresonance

I don't know how to work with makefiles myself, so I need to learn too.

I'll merge as soon as I test this PR locally and make sure it works fine.

redromnon avatar Apr 17 '22 08:04 redromnon

Sounds good, just use make from the root dir of the repo to build the launcher, it'll figure out if it needs to run from GameFiles or from the root dir.

eresonance avatar Apr 17 '22 19:04 eresonance

Although I haven't tested the program thoroughly, there are some minor fixes to be made. I'll be pointing them out below.

redromnon avatar Apr 18 '22 00:04 redromnon

You should add the --zenity parameter like ./HeroicBashLauncher --zenity "$game" on line 26 in steam.py since GUI users will be executing the AddToSteam file.

redromnon avatar Apr 18 '22 01:04 redromnon

Closing due to inactivity and #108

redromnon avatar Sep 30 '22 14:09 redromnon