Skip to content

Commit

Permalink
fix(flatpak): sync yarn packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vjousse committed Sep 9, 2024
1 parent d17727d commit 66e6d91
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions flatpak/org.jousse.vincent.Pomodorolm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ modules:
- name: pomodorolm
buildsystem: simple
sources:
# - type: git
# url: https://github.com/vjousse/pomodorolm.git
# branch: main
- type: dir
path: ..
- type: git
url: https://github.com/vjousse/pomodorolm.git
branch: main
# - type: dir
# path: ..
- node-sources.json
- cargo-sources.json
build-options:
Expand All @@ -42,10 +42,11 @@ modules:
build-commands:
# Node packages
- yarn --offline config set yarn-offline-mirror $FLATPAK_BUILDER_BUILDDIR/flatpak-node/yarn-mirror
- yarn --offline
# Rust packages
- cargo --offline fetch --manifest-path src-tauri/Cargo.toml --verbose
# Compile the app without creating any bundle
- yarn --offline run tauri build --no-bundle
- yarn --offline tauri build --no-bundle

- install -Dm644 -t /app/share/metainfo/ org.jousse.vincent.Pomodorolm.metainfo.xml
- install -Dm644 -t /app/share/applications/ org.jousse.vincent.Pomodorolm.desktop
Expand Down

0 comments on commit 66e6d91

Please sign in to comment.