Skip to content

Commit

Permalink
Add windows build instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
PoloNX committed Mar 3, 2024
1 parent 3aa5da8 commit d42bc48
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
### Requirements

- [devkitPro](https://devkitpro.org/wiki/Getting_Started)
- [CMake](https://cmake.org/download/)
- [Ninja](https://ninja-build.org/)
- [Docker](https://www.docker.com/) (Windows only)

If you don't want to use docker on windows you can use [MSYS2](https://www.msys2.org/) to build the app.

### Linux

Expand All @@ -61,13 +66,19 @@ cmake -B cmake-build-switch -G Ninja -DPLATFORM_SWITCH=ON -DCMAKE_BUILD_TYPE=Deb
cmake --build cmake-build-switch --target SimpleModDownloader.nro
```

## Help me
### Windows

If you want to help me open an issue when you encounter a bug and a pull request if you have a fix.
```bash
pacman -S switch-curl switch-zlib switch-glfw switch-mesa switch-glm switch-libarchive
git clone --recursive https://github.com/PoloNX/SimpleModDownloader/
cd SimpleModDownloader
docker run --rm -v ${PWD}:/data devkitpro/devkita64:latest `
bash -c "cd /data ; cmake -B cmake-build-switch -G Ninja -DPLATFORM_SWITCH=ON -DCMAKE_BUILD_TYPE=Debug ; cmake --build cmake-build-switch --target SimpleModDownloader.nro"
```

## TODO
## Help me

Rewrite the app with [borealis](https://github.com/xfangfang/borealis) because the current app is unstable. No eta for this.
If you want to help me open an issue when you encounter a bug and a pull request if you have a fix.

## Credits

Expand Down

0 comments on commit d42bc48

Please sign in to comment.