updated discord sdk docs
This commit is contained in:
@@ -3,44 +3,47 @@ layout: ../../../layouts/DocsLayout.astro
|
|||||||
repo: discord-sdk-godot
|
repo: discord-sdk-godot
|
||||||
title: Building
|
title: Building
|
||||||
---
|
---
|
||||||
|
|
||||||
# How to build
|
# How to build
|
||||||
|
|
||||||
1. Clone the project
|
1. Clone the project
|
||||||
2. Install [python](https://www.python.org/downloads/)
|
2. Install [python](https://www.python.org/downloads/)
|
||||||
3. Install scons via pip with
|
3. Install scons via pip with
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pip install scons
|
pip install scons
|
||||||
```
|
```
|
||||||
|
|
||||||
and make sure to put scons on your PATH or replace "scons" with a scons run command<br/>
|
and make sure to put scons on your PATH or replace "scons" with a scons run command<br/>
|
||||||
<br/>
|
|
||||||
4. Run this command
|
<br />
|
||||||
```sh
|
4. Run this command ```sh python setup.py ``` 5. and build the project with ```sh
|
||||||
python setup.py
|
python build.py ``` There is a prompt how it should start Godot (if `godot` is on
|
||||||
```
|
PATH) to test the addon fast directly.
|
||||||
5. and build the project with
|
<br />
|
||||||
```sh
|
|
||||||
python build.py
|
|
||||||
```
|
|
||||||
There is a prompt how it should start Godot (if `godot` is on PATH) to test the addon fast directly.
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
**or** run
|
**or** run
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
scons
|
scons
|
||||||
```
|
```
|
||||||
|
|
||||||
and
|
and
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
scons target=template_release
|
scons target=template_release
|
||||||
```
|
```
|
||||||
<br/>
|
|
||||||
|
<br />
|
||||||
|
|
||||||
6. Now the addon should be installed in the project folder of the repo and can be exported with
|
6. Now the addon should be installed in the project folder of the repo and can be exported with
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
python release.py
|
python release.py
|
||||||
```
|
```
|
||||||
|
|
||||||
# MacOS Support
|
# MacOS Support
|
||||||
:::warn
|
|
||||||
MacOS is supported but not included in this project releases. <br/>
|
:::assert{title="Info"}
|
||||||
You have to build it yourself because signing costs money we don't want to pay currently.<br/>
|
MacOS is fully supported but its building process is not fully documented yet.
|
||||||
You have to sign the binding dylib to use it. The official Discord Game SDK dylib is already signed by Discord.<br/>
|
:::
|
||||||
It should be possible to run the dylib for testing before signing it but i haven't tested it yet.<br/>
|
|
||||||
:::
|
|
||||||
|
@@ -19,8 +19,6 @@ features: [
|
|||||||
The GameSDK's Achievements, Applications, Voice, Images, Lobbies, Networking, Storage, and Store (purchases and discounts) features have been deprecated and will not be added. <br /> However the rest is and will still be supported by Discord.
|
The GameSDK's Achievements, Applications, Voice, Images, Lobbies, Networking, Storage, and Store (purchases and discounts) features have been deprecated and will not be added. <br /> However the rest is and will still be supported by Discord.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
**[About MacOS Support](/docs/discord-sdk-godot/building#macos-support)**<br />
|
|
||||||
|
|
||||||
:::warn
|
:::warn
|
||||||
The plugin only works with 4.2 and above for the current version
|
The plugin only works with 4.2 and above for the current version
|
||||||
:::
|
:::
|
||||||
|
Reference in New Issue
Block a user