Skip to content

Commit

Permalink
Merge pull request #273 from fperera123/update/flathub-build-4
Browse files Browse the repository at this point in the history
Update Flathub Configuration
  • Loading branch information
CrazyMarvin authored Apr 4, 2024
2 parents 11fc169 + 917136e commit a28dfb0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions flathub/rocks.poopjournal.librelinkupdesktop.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<id>rocks.poopjournal.librelinkupdesktop</id>
<summary>This is a desktop application that fetches your blood sugar from LibreLinkUp</summary>

<metadata_license>Apache 2.0 </metadata_license>
<project_license>Apache 2.0 </project_license>
<metadata_license>Apache 2.0</metadata_license>
<project_license>Apache 2.0</project_license>

<description>
<p>
Expand Down
15 changes: 8 additions & 7 deletions flathub/rocks.poopjournal.librelinkupdesktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,22 @@ modules:
env:
XDG_CACHE_HOME: /run/build/librelinkupdesktop/flatpak-node/cache
npm_config_cache: /run/build/librelinkupdesktop/flatpak-node/npm-cache
npm_config_offline: 'true'
npm_config_offline: "true"
build-commands:
- npm install --offline
- npx electron-packager . librelinkupdesktop --overwrite --platform=linux --arch=x64 --out=release-build --prune=true --electron-version=27.3.4 --app-version=0.1.3
- ls -la release-build/librelinkupdesktop-linux-x64
- cp -a ./release-build/librelinkupdesktop-linux-x64 /app/main
- ./flatpak-node/electron-builder-arch-args.sh
- npx ts-node ./.erb/scripts/clean.js dist && npm run build && npx electron-builder --linux --dir $ELECTRON_BUILDER_ARCH_ARGS
- ls -la release/build/linux*unpacked
- cp -a release/build/linux*unpacked /app/main
- install -Dm755 -t /app/bin/ ./run.sh
- install -Dm644 assets/logo.svg /app/share/icons/hicolor/scalable/apps/rocks.poopjournal.librelinkupdesktop.svg
- install -Dm644 flathub/rocks.poopjournal.librelinkupdesktop.desktop /app/share/applications/rocks.poopjournal.librelinkupdesktop.desktop
- install -Dm444 flathub/rocks.poopjournal.librelinkupdesktop.metainfo.xml /app/share/metainfo/rocks.poopjournal.librelinkupdesktop.metainfo.xml
sources:
- type: git
url: https://github.com/fperera123/LibreLinkUpDesktop.git
tag: flathub-0.0.5
commit: 18b5a952edb03ec286e7c2545a848a60ee7c8df2
url: https://github.com/Crazy-Marvin/LibreLinkUpDesktop.git
tag: v0.1.5
commit: 11fc169ba7aeffa54a24563a956b56ee464838b3
- generated-sources.json
- type: script
dest-filename: run.sh
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "rocks.poopjournal.librelinkupdesktop",
"version": "0.1.5",
"author": {
"name": "Yuran Fernando",
"email": "yuran93@gmail.com"
Expand Down

0 comments on commit a28dfb0

Please sign in to comment.