-
-
Notifications
You must be signed in to change notification settings - Fork 72
Building for Windows
Martin edited this page Nov 22, 2024
·
52 revisions
Tauon for Windows can be built using MSYS2
- Go to http://www.msys2.org/ and download the x86_64 installer
- Follow the instructions on the page for setting up the basic environment
- Run
C:\msys64\mingw64.exe
- a terminal window should pop up - Update by running
pacman -Syu --noconfirm
- You may need to reopen mingw64.exe after this - Update again and install git
pacman -Syu --noconfirm git
- Clone Tauon repo
git clone https://github.com/Taiko2k/TauonMusicBox.git --recursive
cd TauonMusicBox
- Execute
pacman -S --needed --noconfirm - < extra/msyspac.txt
to install required dependencies - (optional) Download and place
librespot.exe
in the root of the folder - Execute
pip install -r requirements_windows.txt
* to install python dependencies. (Might needpacman -S mingw-w64-x86_64-rust
) - Compile needed Tauon modules using
bash compile-phazor.sh
- (optional) Compile translations using
python compile_translations.py
** - (optional) Add recommended fonts: In source directory, create a directory named
fonts
, and place Noto Sans font files in there.
Easiest way to get these is to copy the folder from an existing Tauon installation - (optional) Build the SMTC module, which is needed for the media keys to work.
You can also grab this from an existing installation if you're lazy, the code doesn't change often:- Install Visual Studio
- Open
src/smtc/TauonSMTC.sln
- Select the release configuration and build
- From the build directory copy
TauonSMTC.dll
to/lib
- You should now be able to run using
python tauon.py
To package into an exe:bash win-build.sh
, then the resulting build will be in thedist
directory.
* 7.8.3 version and earlier uses extra/win-requirements.txt
* 7.8.3 version and earlier uses compile-translations.py