Compare commits

..

2 Commits

Author SHA1 Message Date
Alexa 911206a115 fix(cli): declare RuntimeIdentifiers so no-restore publish works
CI restores without a RID then publishes per-RID with no-restore, which failed NETSDK1047 because the assets file had no RID targets. Declaring RuntimeIdentifiers makes the RID-less restore cover all of them.
2026-06-16 01:02:55 +03:00
Alexa cfd5724859 fix(cli): exit 0 on --help, handle parse errors cleanly
--help printed usage but returned exit code 1, failing the CI smoke test. Treat --help / -h / no-args as a successful usage print (exit 0), and catch parser ArgumentExceptions so a missing value or bad --mode exits 1 with a message instead of an unhandled crash.
2026-06-16 00:55:41 +03:00
2 changed files with 12 additions and 4 deletions
+4 -4
View File
@@ -126,10 +126,10 @@ jobs:
-c Release \ -c Release \
-r "${{ matrix.rid }}" \ -r "${{ matrix.rid }}" \
--self-contained true \ --self-contained true \
-p:Version="$v" \ /p:Version="$v" \
-p:AssemblyVersion="${v}.0" \ /p:AssemblyVersion="${v}.0" \
-p:FileVersion="${v}.0" \ /p:FileVersion="${v}.0" \
-p:InformationalVersion="$v" /p:InformationalVersion="$v"
- name: Package - name: Package
shell: bash shell: bash
+8
View File
@@ -29,6 +29,8 @@ Go to **[dashboard.photonengine.com](https://dashboard.photonengine.com/)**
and click "Sign up". Email + password; the free tier doesn't ask for a and click "Sign up". Email + password; the free tier doesn't ask for a
card. card.
![photon dashboard signup screen](images/photon-1-signup.png)
> If you already have an account from another project, log in instead. > If you already have an account from another project, log in instead.
> Multiple DorkNet servers can share the same Photon account, but each > Multiple DorkNet servers can share the same Photon account, but each
> server needs its own AppId pair so concurrent player counts don't > server needs its own AppId pair so concurrent player counts don't
@@ -47,11 +49,15 @@ for:
Click **CREATE**. Click **CREATE**.
![photon "Create a new app" form, Photon SDK selected](images/photon-2-create-realtime.png)
## Step 3 — Copy the Realtime AppId ## Step 3 — Copy the Realtime AppId
You land back on the dashboard with your new app at the top. The AppId You land back on the dashboard with your new app at the top. The AppId
is the long string under the app name — click it to copy. is the long string under the app name — click it to copy.
![photon app card with AppId highlighted](images/photon-3-realtime-appid.png)
That's your **Realtime AppId**. Paste it into: That's your **Realtime AppId**. Paste it into:
- the launcher's first-run wizard step 4, **REALTIME APPID** field, OR - the launcher's first-run wizard step 4, **REALTIME APPID** field, OR
@@ -63,6 +69,8 @@ That's your **Realtime AppId**. Paste it into:
If you want in-game voice chat, repeat Step 2 with **Photon Voice** If you want in-game voice chat, repeat Step 2 with **Photon Voice**
selected instead of Realtime. Same flow. selected instead of Realtime. Same flow.
![photon "Create a new app" form, Voice selected](images/photon-4-create-voice.png)
Copy the Voice AppId from the dashboard the same way as Step 3 and Copy the Voice AppId from the dashboard the same way as Step 3 and
paste it into: paste it into: