From fe2dfe445066e05c136b815fc3b47c03e89d371b Mon Sep 17 00:00:00 2001 From: fperera123 Date: Thu, 4 Apr 2024 05:43:08 +0530 Subject: [PATCH 1/3] add: missing properties to package json --- package-lock.json | 2 +- package.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index a9b6e92b..2effe676 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "rocks.poopjournal.librelinkupdesktop", - "version": "1.0.0", + "version": "0.1.5", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 1e8851a7..e311096b 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,6 @@ { + "name": "rocks.poopjournal.librelinkupdesktop", + "version": "0.1.5", "author": { "name": "Yuran Fernando", "email": "yuran93@gmail.com" From 276fbed555d1b9a9039787a64a3953ccb262ecfd Mon Sep 17 00:00:00 2001 From: fperera123 Date: Thu, 4 Apr 2024 14:37:03 +0530 Subject: [PATCH 2/3] Fix metadata_license and project_license spacing --- flathub/rocks.poopjournal.librelinkupdesktop.metainfo.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flathub/rocks.poopjournal.librelinkupdesktop.metainfo.xml b/flathub/rocks.poopjournal.librelinkupdesktop.metainfo.xml index ffe545fd..7220deb7 100644 --- a/flathub/rocks.poopjournal.librelinkupdesktop.metainfo.xml +++ b/flathub/rocks.poopjournal.librelinkupdesktop.metainfo.xml @@ -4,8 +4,8 @@ rocks.poopjournal.librelinkupdesktop This is a desktop application that fetches your blood sugar from LibreLinkUp - Apache 2.0 - Apache 2.0 + Apache 2.0 + Apache 2.0

From 917136ee0e99dbbe879feaf5b81cfb1a98e22e52 Mon Sep 17 00:00:00 2001 From: fperera123 Date: Thu, 4 Apr 2024 17:33:27 +0530 Subject: [PATCH 3/3] Update flatpack manifest --- flathub/rocks.poopjournal.librelinkupdesktop.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/flathub/rocks.poopjournal.librelinkupdesktop.yml b/flathub/rocks.poopjournal.librelinkupdesktop.yml index 21b3a49b..b4800be2 100644 --- a/flathub/rocks.poopjournal.librelinkupdesktop.yml +++ b/flathub/rocks.poopjournal.librelinkupdesktop.yml @@ -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