29 lines
559 B
Markdown
29 lines
559 B
Markdown
# Installing Wine for Windows Builds
|
|
|
|
To build Windows executables from Linux, you need Wine installed.
|
|
|
|
## Quick Install (Ubuntu/Debian):
|
|
```bash
|
|
sudo apt-get update
|
|
sudo apt-get install wine
|
|
winetricks python39
|
|
```
|
|
|
|
## Then run:
|
|
```bash
|
|
./build_windows.sh
|
|
```
|
|
|
|
## Alternative: Use GitHub Actions
|
|
|
|
Push to GitHub and the workflow will automatically build Windows executables.
|
|
|
|
## Or: Build on Windows Machine
|
|
|
|
Copy project to Windows and run:
|
|
```cmd
|
|
pip install pyinstaller
|
|
pip install -r requirements_build.txt
|
|
pyinstaller build_executable.spec --clean
|
|
```
|