Mac Updater Behavior

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Mac Updater Behavior

#1 Post by PyTom » Tue May 22, 2012 10:02 pm

I'm working on an updater for Ren'Py games. One issue I'm debating is how to handle games packaged as Macintosh applications.

The big problem is that right now, if we have a project with the structure:

Code: Select all

mygame/
mygame/README.html
mygame/game/
mygame/game/script.rpy
...
when we build the mac version, we create something like:

Code: Select all

mygame-1.0-mac/
mygame-1.0-mac/README.html
mygame-1.0/mygame.app/.../game/
mygame-1.0/mygame.app/.../game/script.rpy
The problem here is that I'm not sure what should happen if the user moves mygame.app into the applications folder. When the user then goes to update, README.html will be missing, or perhaps extant but part of the wrong program.

My question is - should the updater create/update it? Or should the updates be limited to the mygame.app directory?

I also wonder how important the mac app packaging is to people. Does anyone take advantage of it to copy the game into the Applications directory? It's moderately complex to support, so if nobody takes advantage of it, I'll get rid of it.

(Yeah, what's the chance anyone would let me drop a feature ever? Evidence of users using it would be nice.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Nuxill
Veteran
Posts: 464
Joined: Sat Sep 25, 2010 4:50 pm
Projects: No Friend
Tumblr: nuxill
itch: nuxill
Contact:

Re: Mac Updater Behavior

#2 Post by Nuxill » Wed May 23, 2012 12:54 am

I'm a mac user and I put all of my games in the application directory. It feels cleaner that way. Though I guess I wouldn't put up too much of a fuss if you were to change it. :D

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Mac Updater Behavior

#3 Post by jack_norton » Wed May 23, 2012 3:14 am

I just keep the app in desktop personally. But then I use the mac only to test :)
I think having the content in the package makes a "cleaner" look for the app, however if that prevents the updater from working, you can remove it. Or maybe keep it as an option to toggle on/off, but warn that the updater won't work? I'm sure that my users would prefer much more not having to redownload a 100mb file every time I do an update of my RPGs than having a nice packaged app!! :lol:
follow me on Image Image Image
computer games

Post Reply

Who is online

Users browsing this forum: No registered users