modified: README.md

This commit is contained in:
robert 2026-01-06 19:42:00 +01:00
parent 9bd189a4a9
commit f4b407a196

View file

@ -42,32 +42,43 @@ pip install pillow pngmeta
## Building for Distribution ## Building for Distribution
### Mac OS (using py2app) ### Using build.py (Recommended)
1. First install the required build tools: 1. First install the required build tools:
```bash ```bash
pip install py2app pip install pyinstaller
``` ```
2. Build the application bundle: 2. Build the application for your platform:
```bash ```bash
python setup.py py2app python build.py
``` ```
3. The resulting .app bundle will be in the `dist/` directory 3. The resulting executable will be in the `dist/` directory
### Windows (using PyInstaller) ### Manual PyInstaller Commands
#### Windows
```bash ```bash
pyinstaller --name="PNG Metadata Editor" \ pyinstaller --name="PNG Metadata Editor" \
--windowed \ --windowed \
--onefile \ --onefile \
--icon=AppIcon.ico \ --icon=AppIcon.ico \
--version-file version.txt \
png-meta-editor.py png-meta-editor.py
``` ```
### Linux (using PyInstaller) #### Mac OS
```bash
pyinstaller --name="PNG Metadata Editor" \
--windowed \
--onefile \
--icon=AppIcon.icns \
--version-file version.txt \
png-meta-editor.py
```
#### Linux
```bash ```bash
pyinstaller --name="PNG Metadata Editor" \ pyinstaller --name="PNG Metadata Editor" \
--windowed \ --windowed \
@ -75,6 +86,14 @@ pyinstaller --name="PNG Metadata Editor" \
png-meta-editor.py png-meta-editor.py
``` ```
## Required Files
For building, you'll need:
- `version.txt` (for version information)
- `AppIcon.ico` (Windows icon)
- `AppIcon.icns` (Mac icon)
- `requirements.txt` (for dependencies)
## License ## License
This project is licensed under the MIT License - see [LICENSE](LICENSE) for details. This project is licensed under the MIT License - see [LICENSE](LICENSE) for details.
@ -82,7 +101,7 @@ This project is licensed under the MIT License - see [LICENSE](LICENSE) for deta
## Author ## Author
Robert Tusa Robert Tusa
[Your Contact Information] robert@tusa.at
## Version History ## Version History