+12
-1
README.md
+12
-1
README.md
···
25
25
- renaming `steam_id_remote` dictionnary key to `remote_steam_id` to fix network spam detection that resulted in timeouts
26
26
- prevent the game from crashing when saving the options by not setting any values to `OS.windowed_borderless` because setting a value to it crashes the game somehow
27
27
28
+
29
+
## How to install a mod?
30
+
31
+
When running the software for the first time and building webfishing, you'll notice that a `mods` folder has appeared in the folder where the installer is.
32
+
33
+
In order to install a mod, just copy a mod folder in it, a mod folder has a `manifest.json` file in it.
34
+
35
+
After that, run the installer again ! It will tell you in the terminal if the mod is installed or if something went wrong.
36
+
37
+
Here's a small mod list : [link to the mod list](modlist.md)
38
+
28
39
## How to make a mod?
29
40
30
41
As you can see in the `example_mods` folder, a mod has typically two folders and a single `manifest.json` file having the following structure:
31
-
```json
42
+
```jsonc
32
43
{
33
44
"name": "Ship Mod", // Mod name
34
45
"author": "Estym", // Author
+7
modlist.md
+7
modlist.md
+2
-1
src/main.rs
+2
-1
src/main.rs
···
59
59
async fn download_godot_steam_template() {
60
60
println!("Downloading GodotSteam template...");
61
61
let res = reqwest::get(
62
-
"https://github.com/GodotSteam/GodotSteam/releases/download/v3.24/macos-g353-s159-gs324.zip",
62
+
"https://codeberg.org/godotsteam/godotsteam/releases/download/v3.24/macos-g353-s159-gs324.zip",
63
63
)
64
64
.await
65
65
.expect("Could not download godotsteam template");
···
89
89
90
90
fn build_webfishing_macos(webfishing_path: &Path) {
91
91
let template_path = Path::new("build/osx_template.app");
92
+
92
93
Command::new("rm")
93
94
.current_dir(template_path)
94
95
.arg("Contents/MacOS/godot_osx_debug.universal")