MacOS Catalina - Releasing on Steam
Posted: Tue Oct 01, 2019 11:47 pm
Let me preface this question by saying that I know very little about MacOS.
Maybe I'm doing something wrong, maybe this is just how it works in OSX. Bear with me.
I've just gone through the process of notarizing one of my games (following the Patreon article) and uploading it to Steam.
I've uploaded the signed & stapled DMG file as-is. Steam distributes this file correctly, and I can get it to open on a client computer.
The problem is, DMG files don't seem to mesh with the way Steam works.
Trying to run the DMG file directly didn't seem to work at all, so I wrote a .sh file which runs "open MyGame.dmg".
That works. Hitting Play in Steam executes the .sh file, and the DMG is opened.
But that's it. The game doesn't launch. The player needs to extract the contents of the DMG, or run it out of the DMG.
Is this how it's supposed to work?
I uploaded the DMG as-is because I figured that was the whole point of the notarization process: build and upload a trusted file, which Apple has checked, and don't tamper with the end product.
But the end result here is that players need to either run the game from the DMG by manually clicking on it (which doesn't seem to work with Big Picture mode) or extract the DMG file anew every time a game is updated. In either case, the simplicity of clicking on the Play button and running the game is gone.
Is there a better command than "open" which I should be using for this?
Should I be extracting the DMG after all?
Maybe I'm doing something wrong, maybe this is just how it works in OSX. Bear with me.
I've just gone through the process of notarizing one of my games (following the Patreon article) and uploading it to Steam.
I've uploaded the signed & stapled DMG file as-is. Steam distributes this file correctly, and I can get it to open on a client computer.
The problem is, DMG files don't seem to mesh with the way Steam works.
Trying to run the DMG file directly didn't seem to work at all, so I wrote a .sh file which runs "open MyGame.dmg".
That works. Hitting Play in Steam executes the .sh file, and the DMG is opened.
But that's it. The game doesn't launch. The player needs to extract the contents of the DMG, or run it out of the DMG.
Is this how it's supposed to work?
I uploaded the DMG as-is because I figured that was the whole point of the notarization process: build and upload a trusted file, which Apple has checked, and don't tamper with the end product.
But the end result here is that players need to either run the game from the DMG by manually clicking on it (which doesn't seem to work with Big Picture mode) or extract the DMG file anew every time a game is updated. In either case, the simplicity of clicking on the Play button and running the game is gone.
Is there a better command than "open" which I should be using for this?
Should I be extracting the DMG after all?