File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 3939 sudo apt-get update
4040 sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
4141
42+ - name : Install dependencies (Windows)
43+ if : matrix.platform == 'windows-latest'
44+ run : choco install rsvg-convert -y
45+
46+ - name : Install dependencies (macOS)
47+ if : matrix.platform == 'macos-latest'
48+ run : brew install librsvg
49+
4250 - name : Setup Rust
4351 uses : dtolnay/rust-toolchain@stable
4452 with :
6068
6169 - name : Generate icons
6270 shell : bash
63- run : |
64- cd lgtv-tray-remote
65- if command -v rsvg-convert &> /dev/null; then
66- ./generate-icons.sh
67- elif command -v magick &> /dev/null; then
68- magick -background none -resize 32x32 src-tauri/icons/icon.svg src-tauri/icons/32x32.png
69- magick -background none -resize 128x128 src-tauri/icons/icon.svg src-tauri/icons/128x128.png
70- magick -background none -resize 256x256 src-tauri/icons/icon.svg src-tauri/icons/128x128@2x.png
71- magick -background none -resize 256x256 src-tauri/icons/icon.svg src-tauri/icons/icon.png
72- fi
71+ working-directory : lgtv-tray-remote
72+ run : ./generate-icons.sh
7373
7474 - name : Install Tauri CLI
7575 run : cargo install tauri-cli
You can’t perform that action at this time.
0 commit comments