You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/dev/publishing.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,6 @@ moonlight CI builds the `develop` branch automatically. This section is for publ
44
44
- We originally didn't have the types version in sync with moonlight, but we're aiming to resync. Bump the patch version until we can eventually re-synchronize them.
45
45
- Continue to publish a moonlight release like normal, and wait for CI to finish.
46
46
-[Run the types workflow](https://github.com/moonlight-mod/moonlight/actions/workflows/types.yml) to manually trigger a release to npm.
47
-
- In [the sample extension](https://github.com/moonlight-mod/sample-extension), update the types package: `pnpm update @moonlight-mod/types`
48
-
- Remember to `git pull` and `pnpm i` beforehand so you are up to date.
49
-
- Commit and push to the sample extension.
50
-
- Update [create-extension](https://github.com/moonlight-mod/create-extension) following [these instructions](#publishing-other-libraries).
51
47
- If the manifest type was updated, regenerate the schema: `pnpx ts-json-schema-generator --path './packages/types/src/*.ts' --type ExtensionManifest -f ./tsconfig.json > ../moonlight-mod.github.io/public/manifest.schema.json`
The moonlight [installer](https://github.com/moonlight-mod/moonlight-installer) automates the installation process for you. To use it, [download](https://github.com/moonlight-mod/moonlight-installer/releases/latest) and run the installer, download moonlight through it, and then patch a Discord installation.
21
20
22
-
The moonlight [installer](https://github.com/moonlight-mod/moonlight-installer) automates the installation process for you. **This is the suggested way to install moonlight for Windows and macOS users.**
21
+
Discord installations are autodetected on your machine. Keep the installer in the event that a Discord update breaks moonlight, so you can unpatch Discord or update moonlight.
Patching on macOS may cause issues with application signing, and moonlight currently does not persist between updates on macOS. This is planned to be fixed in the near future.
Install [Flatpak](https://flatpak.org/), then install the moonlight installer from Flathub.
43
+
44
+
<Aside>
45
+
Only some methods of Discord installations are supported:
46
+
47
+
- Local installations in `~/.local/share`
48
+
- A script to install Discord locally (maintained by a community member) is available [here](https://gist.github.com/maddymeows/6af1a5d5a870c13b7b159c4463edee70).
49
+
- moonlight has an auto updater for Linux in the "Native Fixes" extension.
50
+
- Discord installed through Flatpak as a user
51
+
- System installations are not supported.
52
+
53
+
Discord installations from system package managers are not supported.
54
+
</Aside>
55
+
</TabItem>
56
+
</Tabs>
23
57
24
-
To use it, [download](https://github.com/moonlight-mod/moonlight-installer/releases/latest) and run the installer, download moonlight through it, and then patch a Discord installation. Discord installations are autodetected on your machine. Keep the installer in the event that a Discord update breaks moonlight, so you can unpatch Discord or update moonlight.
25
58
26
59
## moonlight-cli
27
60
28
-
A [command line installer](https://github.com/moonlight-mod/moonlight-installer/tree/main/crates/moonlight-cli) can be compiled from source manually and used to patch moonlight.**This is the suggested way to install moonlight for Linux users.**
61
+
A [command line installer](https://github.com/moonlight-mod/moonlight-installer/tree/main/crates/moonlight-cli) can be compiled from source manually and used to patch moonlight.
moonlight-cli install stable# or `moonlight-cli install nightly`
33
66
moonlight-cli patch /path/to/discord/executable
34
67
```
35
68
36
69
You can specify a custom moonlight `dist` directory with `moonlight-cli patch -m /path/to/moonlight/dist`.
37
70
38
-
:::note
39
-
Discord installations from Linux package managers may not work well with moonlight (due to root permissions or immutability). It is suggested to install Discord locally into a path like `~/.local/share`.
40
-
41
-
A script to install Discord locally (maintained by a community member) is available [here](https://gist.github.com/maddymeows/6af1a5d5a870c13b7b159c4463edee70). You will need to patch this Discord installation manually after installing it.
42
-
:::
43
-
44
71
## Manual installations
45
72
46
73
Manual installations are suggested for those who wish to work on moonlight itself.
@@ -95,14 +122,6 @@ The output extension will be at `dist/browser`. Chrome users can check "Develope
95
122
96
123
Browser support is experimental and may be unreliable. Developing extensions or using custom repositories is not supported with the browser extension.
97
124
98
-
## rocketship
99
-
100
-
Linux users can install a custom Discord build with [rocketship](https://github.com/moonlight-mod/rocketship) and then install moonlight into it. Enable the rocketship extension after installation.
101
-
102
-
:::caution
103
-
rocketship is experimental and may break. If you don't care about the benefits of rocketship, use [moonlight-cli](#moonlight-cli) instead.
104
-
:::
105
-
106
125
## Nix
107
126
108
127
moonlight offers [a Nix flake](https://github.com/moonlight-mod/moonlight/blob/main/flake.nix) which has an overlay to install moonlight on top of Discord. The flake is not monitored, so if it fails to build, please leave an issue.
0 commit comments