Pull GIT on Launch?

#1

I’m a dev working with Pico-8. I’d like to use GameShell to test my prototypes quckly. I know I can always copy my carts into the Pico-8 folder with WinSCP. But I’d like to automate the process.

I’ve set up a big git repository for all of my prototypes. I’d like to do a pull on that repository whenever the GameShell launches and connects to the internet. How would I set up such a thing?

Alternatively, maybe there is some way to set up an icon in the Game Shell main menu to do the pull manually?

I have very little experience with Linux. I would really appriciate some pointers here. I have no idea where to even start. :sweat_smile:

#2

You could always place the git command into the PICO-8 script so that it pulls any new games every time PICO-8 is launched.

#3

Ah, that’s a good idea.

And indeed it worked! Thanks!