mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 03:30:13 +01:00
Update README.md
This commit is contained in:
28
README.md
28
README.md
@@ -47,18 +47,30 @@ Just make sure to use `/` and not `\`!<br>
|
|||||||
Q: I'm trying to play on Mac and it can't open!<br>
|
Q: I'm trying to play on Mac and it can't open!<br>
|
||||||
A: Delete your installation and follow these commands in the terminal:<br>
|
A: Delete your installation and follow these commands in the terminal:<br>
|
||||||
```
|
```
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
# Move to the place where you want to download Pytaiko, this example will be in the desktop
|
||||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
# Make sure the directory is not saved in iCloud! This will create an issue on macOS where the executable cannot compile.
|
||||||
source $HOME/.local/bin/env
|
cd ~/Desktop
|
||||||
|
|
||||||
|
# Installing dependencies
|
||||||
|
brew install python@3.12 uv git speexdsp libsndfile
|
||||||
|
|
||||||
|
# Downloading Pytaiko project
|
||||||
git clone https://github.com/Yonokid/PyTaiko
|
git clone https://github.com/Yonokid/PyTaiko
|
||||||
cd PyTaiko
|
cd PyTaiko
|
||||||
brew install libsndfile
|
|
||||||
brew install speexdsp
|
# Compiling audio libraries
|
||||||
cd libs/audio
|
cd libs/audio
|
||||||
make
|
make
|
||||||
mv libaudio.dylib ../../
|
mv libaudio.dylib ...
|
||||||
cd ../../
|
cd ...
|
||||||
|
|
||||||
|
# Running game (for testing)
|
||||||
uv run PyTaiko.py
|
uv run PyTaiko.py
|
||||||
|
|
||||||
|
# Creating executable
|
||||||
|
|
||||||
|
uv add nuitka
|
||||||
|
uv run nuitka --mode=app --noinclude-setuptools-mode=nofollow --noinclude-IPython-mode=nofollow --assume-yes-for-downloads PyTaiko.py
|
||||||
```
|
```
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -71,7 +83,7 @@ Download the latest release for your operating system from the [releases page](h
|
|||||||
2. Run `PyTaiko.exe`
|
2. Run `PyTaiko.exe`
|
||||||
|
|
||||||
#### macOS
|
#### macOS
|
||||||
- Run with Python directly (see [Building from Source](#building-from-source))
|
- Run with Python directly or self compile (see [Building from Source](#building-from-source))
|
||||||
|
|
||||||
#### Linux
|
#### Linux
|
||||||
- Try running the compiled `PyTaiko.bin` binary
|
- Try running the compiled `PyTaiko.bin` binary
|
||||||
|
|||||||
Reference in New Issue
Block a user