From e67bead0d998faa4174e149fd30688621f881cf0 Mon Sep 17 00:00:00 2001 From: flathubbot Date: Tue, 31 Jan 2023 23:40:09 +0000 Subject: [PATCH 1/3] Update pocket-sync to 2.4.0 --- io.github.neil_morrison44.pocket-sync.appdata.xml | 1 + io.github.neil_morrison44.pocket-sync.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/io.github.neil_morrison44.pocket-sync.appdata.xml b/io.github.neil_morrison44.pocket-sync.appdata.xml index 7244ad9..e113fc4 100644 --- a/io.github.neil_morrison44.pocket-sync.appdata.xml +++ b/io.github.neil_morrison44.pocket-sync.appdata.xml @@ -38,6 +38,7 @@ + diff --git a/io.github.neil_morrison44.pocket-sync.yaml b/io.github.neil_morrison44.pocket-sync.yaml index 5a325a0..e697002 100644 --- a/io.github.neil_morrison44.pocket-sync.yaml +++ b/io.github.neil_morrison44.pocket-sync.yaml @@ -29,13 +29,13 @@ modules: sources: - type: git url: https://github.com/neil-morrison44/pocket-sync - tag: v2.3.0 + tag: v2.4.0 x-checker-data: type: git # Generated with: # npm i --package-lock-only # .../flatpak-builder-tools/node/flatpak-node-generator.py npm package-lock.json - commit: e1a407ecf1d8ba695dfcce8f28fea0ee4129a583 + commit: 203d2d4f9a890d99ab39c64b3afdd393621ad496 - node-sources.json # Generated with .../flatpak-builder-tools/cargo/flatpak-cargo-generator.py src-tauri/Cargo.lock - cargo-sources.json From 99b00ef0bbe9c769d26c1dc2a3f32883464e6054 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 1 Feb 2023 21:58:56 +0100 Subject: [PATCH 2/3] Update generated sources --- cargo-sources.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/cargo-sources.json b/cargo-sources.json index ee341d5..6d91055 100644 --- a/cargo-sources.json +++ b/cargo-sources.json @@ -2027,6 +2027,19 @@ "dest": "cargo/vendor/mime-0.3.16", "dest-filename": ".cargo-checksum.json" }, + { + "type": "archive", + "archive-type": "tar-gzip", + "url": "https://static.crates.io/crates/minisign-verify/minisign-verify-0.2.1.crate", + "sha256": "933dca44d65cdd53b355d0b73d380a2ff5da71f87f036053188bf1eab6a19881", + "dest": "cargo/vendor/minisign-verify-0.2.1" + }, + { + "type": "inline", + "contents": "{\"package\": \"933dca44d65cdd53b355d0b73d380a2ff5da71f87f036053188bf1eab6a19881\", \"files\": {}}", + "dest": "cargo/vendor/minisign-verify-0.2.1", + "dest-filename": ".cargo-checksum.json" + }, { "type": "archive", "archive-type": "tar-gzip", From c6e95be9a65e3dd3508652daa319b5b22af368dc Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 1 Feb 2023 22:03:33 +0100 Subject: [PATCH 3/3] Disable auto-updater --- 0001-Disable-Tauri-auto-updater.patch | 32 ++++++++++++++++++++++ io.github.neil_morrison44.pocket-sync.yaml | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 0001-Disable-Tauri-auto-updater.patch diff --git a/0001-Disable-Tauri-auto-updater.patch b/0001-Disable-Tauri-auto-updater.patch new file mode 100644 index 0000000..b6995bb --- /dev/null +++ b/0001-Disable-Tauri-auto-updater.patch @@ -0,0 +1,32 @@ +From e1d9e4233c9ce21a380d70d14bf2ddefb398ee62 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Wed, 1 Feb 2023 22:01:55 +0100 +Subject: [PATCH] Disable Tauri auto-updater + +It wouldn't be able to update itself anyway, as the binary can't +overwrite itself. +--- + src-tauri/tauri.conf.json | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json +index fe3c071..40fe791 100644 +--- a/src-tauri/tauri.conf.json ++++ b/src-tauri/tauri.conf.json +@@ -68,12 +68,7 @@ + "csp": null + }, + "updater": { +- "active": true, +- "dialog": true, +- "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEVEQzEwQTA4MUMwQTk0OEEKUldTS2xBb2NDQXJCN1VXbjJHZVZhTkpvcDJTTHcxRXFRd3F4S2dMcS9yc1NJZ2xxbFMvZFJWUS8K", +- "endpoints": [ +- "https://github.com/neil-morrison44/pocket-sync/releases/latest/download/latest.json" +- ] ++ "active": false + }, + "windows": [ + { +-- +2.39.1 + diff --git a/io.github.neil_morrison44.pocket-sync.yaml b/io.github.neil_morrison44.pocket-sync.yaml index e697002..c2ebedc 100644 --- a/io.github.neil_morrison44.pocket-sync.yaml +++ b/io.github.neil_morrison44.pocket-sync.yaml @@ -39,6 +39,8 @@ modules: - node-sources.json # Generated with .../flatpak-builder-tools/cargo/flatpak-cargo-generator.py src-tauri/Cargo.lock - cargo-sources.json + - type: patch + path: 0001-Disable-Tauri-auto-updater.patch - type: file path: io.github.neil_morrison44.pocket-sync.appdata.xml - type: file