Skip to content

Commit

Permalink
Add macOS support warning in steamworks section
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jul 28, 2024
1 parent 6759924 commit e870018
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,10 @@
"string": "Steamworks Extension",
"developer_comment": "Title of section that appears when using the Steamworks extension"
},
"steamworksMacWarning": {
"string": "Warning: macOS games published on Steam need to be notarized by Apple, which the packager doesn't support. You can still test your game on a Mac, but you won't be able to publish it for macOS yet.",
"developer_comment": "When using the Steamworks extension, warning that appears whenever macOS support is used or mentioned."
},
"steamworksDocumentation": {
"string": "See the extension's documentation for more details.",
"developer_comment": "Link to more documentation about the Steamworks extension"
Expand Down
12 changes: 11 additions & 1 deletion src/p4/PackagerOptions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1035,11 +1035,21 @@
<option value="error">{$_('options.steamworksError')}</option>
</select>
</label>

{#if $options.target === 'electron-mac'}
<p class="warning">
{$_('options.steamworksMacWarning')}
</p>
{/if}
{:else}
<p>{$_('options.steamworksUnavailable')}</p>
<ul>
<li>{$_('options.application-win64').replace('{type}', 'Electron')}</li>
<li>{$_('options.application-mac').replace('{type}', 'Electron')}</li>
<li>
{$_('options.application-mac').replace('{type}', 'Electron')}
<br>
{$_('options.steamworksMacWarning')}
</li>
<li>{$_('options.application-linux64').replace('{type}', 'Electron')}</li>
</ul>
{/if}
Expand Down

0 comments on commit e870018

Please sign in to comment.