Add macOS installation guidance and cleanup trailing spaces

pull/1252/head
Petr Korolev 2 months ago
parent db9a19e74d
commit 17d1fc25f2

@ -75,6 +75,29 @@ arch -x86_64 /usr/local/bin/brew install gtk4 adwaita-icon-theme ffmpeg librsvg
```
Sadly this doesn't work for all users, so feel free to update this part of documentation(look at https://github.com/qarmin/czkawka/issues/689 and https://github.com/qarmin/czkawka/issues/637 for more info)
#### Generate App Bundle (macOS)
To generate an app bundle on macOS, you can use the provided script `./misc/create_app_bundle.sh`. This script will create an `.app` bundle with the necessary structure and copy the executable and icon files into the correct locations.
Before running the script, make sure you have the `librsvg` library installed, which is used to convert SVG icons to PNG format. You can install it using Homebrew:
```shellscript
brew install librsvg
```
Then, you can run the script with the following command:
```shellscript
./misc/create_app_bundle.sh
```
After running the script, you will find the generated `.app` bundle in the `./target/release` directory.
You can move this bundle to your Applications folder to install the app:
```shellscript
mv ./target/release/Czkawka.app /Applications
```
Now, you should be able to launch Czkawka from your Applications folder or via Spotlight search.
### Windows
By default, all needed libraries are bundled with the app except libheif library which allows to scan/use heif files, inside `windows_czkawka_gui.zip`, but if you compile the app or just move `czkawka_gui.exe`, then you will need to install the `GTK 4`

Loading…
Cancel
Save