Skip to content

Commit

Permalink
Add support for icons (#20)
Browse files Browse the repository at this point in the history
Icon rendering must use platform-specific APIs which means it must be
duplicated for every supported OS.

Icon lookup is delegated to a separate thread in order to prevent
the system functions from blocking the runtime.

This is because if a Jolly entry location is on a network drive, the
icon lookup APIs can hang for a long period of time.

Buildscript checks that necessary packages are installed and gives a
warning if they are not
  • Loading branch information
apgoetz committed Jul 17, 2023
1 parent 0573dc3 commit 5e41e4a
Show file tree
Hide file tree
Showing 17 changed files with 3,437 additions and 533 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
with:
toolchain: ${{ env.MSRV }}

- name: Install dependencies
run: sudo apt-get install -y --no-install-recommends shared-mime-info xdg-utils gnome-icon-theme
if: startsWith(matrix.os, 'ubuntu-')

- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt-get install -y --no-install-recommends shared-mime-info xdg-utils gnome-icon-theme
if: startsWith(matrix.os, 'ubuntu-')


- name: Build release binary
run: cargo build --verbose --release

Expand Down
Loading

0 comments on commit 5e41e4a

Please sign in to comment.