From b83377b33ae1e08b207745a2f877227c97a4ccb3 Mon Sep 17 00:00:00 2001 From: Dawei Huang Date: Sat, 25 Apr 2026 00:49:39 +0200 Subject: [PATCH 1/5] Add qgis manifests --- qgis-grids.json | 32 ++++++++++++++++++++++++++++++++ qgis-ltr-grids.json | 32 ++++++++++++++++++++++++++++++++ qgis-ltr.json | 32 ++++++++++++++++++++++++++++++++ qgis.json | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 128 insertions(+) create mode 100644 qgis-grids.json create mode 100644 qgis-ltr-grids.json create mode 100644 qgis-ltr.json create mode 100644 qgis.json diff --git a/qgis-grids.json b/qgis-grids.json new file mode 100644 index 00000000000000..03ae7fa1cdc7f6 --- /dev/null +++ b/qgis-grids.json @@ -0,0 +1,32 @@ +{ + "version": "4.0.1-1", + "description": "A free and open source geographic information system (GIS), with optional projection grids", + "homepage": "https://www.qgis.org/", + "license": "GPL-2.0-or-later", + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-4.0.1-1.msi", + "hash": "7af6dadc2187892756ca9bac45fdc277a5ba96de5f5dc09a5342d7f39d0dc349" + } + }, + "extract_dir": "QGIS 4.0.1", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", + "bin": "OSGeo4W.bat", + "pre_uninstall": "& \"$dir\\etc\\preuninstall.bat\"", + "checkver": { + "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", + "jsonpath": "$.lr_grids_msi", + "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?).msi" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.msi", + "hash": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.sha256sum" + } + } + }, + "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" + } +} diff --git a/qgis-ltr-grids.json b/qgis-ltr-grids.json new file mode 100644 index 00000000000000..2e4d4309456401 --- /dev/null +++ b/qgis-ltr-grids.json @@ -0,0 +1,32 @@ +{ + "version": "3.44.9-1", + "description": "A free and open source geographic information system (GIS), with optional projection grids", + "homepage": "https://www.qgis.org/", + "license": "GPL-2.0-or-later", + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-3.44.9-1.msi", + "hash": "c82f6287dcf9356ca3d634ae703df5d5575ce2e367a68eb71691e83617aab38d" + } + }, + "extract_dir": "QGIS 3.44.9", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", + "bin": "OSGeo4W.bat", + "pre_uninstall": "& \"$dir\\etc\\preuninstall.bat\"", + "checkver": { + "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", + "jsonpath": "$.ltr_grids_msi", + "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?).msi" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.msi", + "hash": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.sha256sum" + } + } + }, + "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" + } +} diff --git a/qgis-ltr.json b/qgis-ltr.json new file mode 100644 index 00000000000000..b1df1d5f0c39e5 --- /dev/null +++ b/qgis-ltr.json @@ -0,0 +1,32 @@ +{ + "version": "3.44.9-1", + "description": "A free and open source geographic information system (GIS)", + "homepage": "https://www.qgis.org/", + "license": "GPL-2.0-or-later", + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-3.44.9-1.msi", + "hash": "711d6df99f450522a1e22755fcbfed65d5190c1e4c241793bc2f80ff1a2c24ba" + } + }, + "extract_dir": "QGIS 3.44.9", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", + "bin": "OSGeo4W.bat", + "pre_uninstall": "& \"$dir\\etc\\preuninstall.bat\"", + "checkver": { + "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", + "jsonpath": "$.ltr_msi", + "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?).msi" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.msi", + "hash": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.sha256sum" + } + } + }, + "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" + } +} diff --git a/qgis.json b/qgis.json new file mode 100644 index 00000000000000..20f01e42a366bc --- /dev/null +++ b/qgis.json @@ -0,0 +1,32 @@ +{ + "version": "4.0.1-1", + "description": "A free and open source geographic information system (GIS)", + "homepage": "https://www.qgis.org/", + "license": "GPL-2.0-or-later", + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-4.0.1-1.msi", + "hash": "a5341c6151a6267879f3477c92030844b9a38ecf26c0c535a21bbaf44e1ee96c" + } + }, + "extract_dir": "QGIS 4.0.1", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", + "bin": "OSGeo4W.bat", + "pre_uninstall": "& \"$dir\\etc\\preuninstall.bat\"", + "checkver": { + "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", + "jsonpath": "$.lr_msi", + "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?).msi" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.msi", + "hash": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.sha256sum" + } + } + }, + "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" + } +} From 3e7099dc2d3e271d5c050498ee41ddd5f8e4decf Mon Sep 17 00:00:00 2001 From: Dawei Huang Date: Sat, 25 Apr 2026 00:54:59 +0200 Subject: [PATCH 2/5] Fix `pre_uninstall` Co-authored-by: Dawei Huang --- qgis-grids.json | 2 +- qgis-ltr-grids.json | 2 +- qgis-ltr.json | 2 +- qgis.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qgis-grids.json b/qgis-grids.json index 03ae7fa1cdc7f6..6adbee84ca87c8 100644 --- a/qgis-grids.json +++ b/qgis-grids.json @@ -12,7 +12,7 @@ "extract_dir": "QGIS 4.0.1", "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", "bin": "OSGeo4W.bat", - "pre_uninstall": "& \"$dir\\etc\\preuninstall.bat\"", + "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", "checkver": { "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", "jsonpath": "$.lr_grids_msi", diff --git a/qgis-ltr-grids.json b/qgis-ltr-grids.json index 2e4d4309456401..a2d96bbc62b130 100644 --- a/qgis-ltr-grids.json +++ b/qgis-ltr-grids.json @@ -12,7 +12,7 @@ "extract_dir": "QGIS 3.44.9", "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", "bin": "OSGeo4W.bat", - "pre_uninstall": "& \"$dir\\etc\\preuninstall.bat\"", + "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", "checkver": { "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", "jsonpath": "$.ltr_grids_msi", diff --git a/qgis-ltr.json b/qgis-ltr.json index b1df1d5f0c39e5..0995810a6ba096 100644 --- a/qgis-ltr.json +++ b/qgis-ltr.json @@ -12,7 +12,7 @@ "extract_dir": "QGIS 3.44.9", "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", "bin": "OSGeo4W.bat", - "pre_uninstall": "& \"$dir\\etc\\preuninstall.bat\"", + "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", "checkver": { "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", "jsonpath": "$.ltr_msi", diff --git a/qgis.json b/qgis.json index 20f01e42a366bc..104af9dad52769 100644 --- a/qgis.json +++ b/qgis.json @@ -12,7 +12,7 @@ "extract_dir": "QGIS 4.0.1", "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", "bin": "OSGeo4W.bat", - "pre_uninstall": "& \"$dir\\etc\\preuninstall.bat\"", + "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", "checkver": { "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", "jsonpath": "$.lr_msi", From 4cbacaf9a0b3897e466e2bba4747551d66490d66 Mon Sep 17 00:00:00 2001 From: Dawei Huang Date: Sat, 25 Apr 2026 01:10:33 +0200 Subject: [PATCH 3/5] Fix manifests --- qgis-grids.json => bucket/qgis-grids.json | 64 +++++++++---------- .../qgis-ltr-grids.json | 64 +++++++++---------- qgis-ltr.json => bucket/qgis-ltr.json | 64 +++++++++---------- qgis.json => bucket/qgis.json | 64 +++++++++---------- 4 files changed, 128 insertions(+), 128 deletions(-) rename qgis-grids.json => bucket/qgis-grids.json (90%) rename qgis-ltr-grids.json => bucket/qgis-ltr-grids.json (90%) rename qgis-ltr.json => bucket/qgis-ltr.json (89%) rename qgis.json => bucket/qgis.json (89%) diff --git a/qgis-grids.json b/bucket/qgis-grids.json similarity index 90% rename from qgis-grids.json rename to bucket/qgis-grids.json index 6adbee84ca87c8..76bef563a2d741 100644 --- a/qgis-grids.json +++ b/bucket/qgis-grids.json @@ -1,32 +1,32 @@ -{ - "version": "4.0.1-1", - "description": "A free and open source geographic information system (GIS), with optional projection grids", - "homepage": "https://www.qgis.org/", - "license": "GPL-2.0-or-later", - "architecture": { - "64bit": { - "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-4.0.1-1.msi", - "hash": "7af6dadc2187892756ca9bac45fdc277a5ba96de5f5dc09a5342d7f39d0dc349" - } - }, - "extract_dir": "QGIS 4.0.1", - "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", - "bin": "OSGeo4W.bat", - "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", - "checkver": { - "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", - "jsonpath": "$.lr_grids_msi", - "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?).msi" - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.msi", - "hash": { - "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.sha256sum" - } - } - }, - "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" - } -} +{ + "version": "4.0.1-1", + "description": "A free and open source geographic information system (GIS), with optional projection grids", + "homepage": "https://www.qgis.org/", + "license": "GPL-2.0-or-later", + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-4.0.1-1.msi", + "hash": "7af6dadc2187892756ca9bac45fdc277a5ba96de5f5dc09a5342d7f39d0dc349" + } + }, + "extract_dir": "QGIS 4.0.1", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$(shortcut_folder $global)\" \"%USERPROFILE%\\Desktop\" 0 1", + "bin": "OSGeo4W.bat", + "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", + "checkver": { + "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", + "jsonpath": "$.lr_grids_msi", + "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?).msi" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.msi", + "hash": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.sha256sum" + } + } + }, + "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" + } +} diff --git a/qgis-ltr-grids.json b/bucket/qgis-ltr-grids.json similarity index 90% rename from qgis-ltr-grids.json rename to bucket/qgis-ltr-grids.json index a2d96bbc62b130..fe0c1a07d45777 100644 --- a/qgis-ltr-grids.json +++ b/bucket/qgis-ltr-grids.json @@ -1,32 +1,32 @@ -{ - "version": "3.44.9-1", - "description": "A free and open source geographic information system (GIS), with optional projection grids", - "homepage": "https://www.qgis.org/", - "license": "GPL-2.0-or-later", - "architecture": { - "64bit": { - "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-3.44.9-1.msi", - "hash": "c82f6287dcf9356ca3d634ae703df5d5575ce2e367a68eb71691e83617aab38d" - } - }, - "extract_dir": "QGIS 3.44.9", - "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", - "bin": "OSGeo4W.bat", - "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", - "checkver": { - "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", - "jsonpath": "$.ltr_grids_msi", - "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?).msi" - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.msi", - "hash": { - "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.sha256sum" - } - } - }, - "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" - } -} +{ + "version": "3.44.9-1", + "description": "A free and open source geographic information system (GIS), with optional projection grids", + "homepage": "https://www.qgis.org/", + "license": "GPL-2.0-or-later", + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-3.44.9-1.msi", + "hash": "c82f6287dcf9356ca3d634ae703df5d5575ce2e367a68eb71691e83617aab38d" + } + }, + "extract_dir": "QGIS 3.44.9", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$(shortcut_folder $global)\" \"%USERPROFILE%\\Desktop\" 0 1", + "bin": "OSGeo4W.bat", + "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", + "checkver": { + "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", + "jsonpath": "$.ltr_grids_msi", + "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?).msi" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.msi", + "hash": { + "url": "https://download.qgis.org/downloads/QGIS-Grids-OSGeo4W-$version.sha256sum" + } + } + }, + "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" + } +} diff --git a/qgis-ltr.json b/bucket/qgis-ltr.json similarity index 89% rename from qgis-ltr.json rename to bucket/qgis-ltr.json index 0995810a6ba096..8e4d68ccf628eb 100644 --- a/qgis-ltr.json +++ b/bucket/qgis-ltr.json @@ -1,32 +1,32 @@ -{ - "version": "3.44.9-1", - "description": "A free and open source geographic information system (GIS)", - "homepage": "https://www.qgis.org/", - "license": "GPL-2.0-or-later", - "architecture": { - "64bit": { - "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-3.44.9-1.msi", - "hash": "711d6df99f450522a1e22755fcbfed65d5190c1e4c241793bc2f80ff1a2c24ba" - } - }, - "extract_dir": "QGIS 3.44.9", - "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", - "bin": "OSGeo4W.bat", - "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", - "checkver": { - "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", - "jsonpath": "$.ltr_msi", - "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?).msi" - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.msi", - "hash": { - "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.sha256sum" - } - } - }, - "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" - } -} +{ + "version": "3.44.9-1", + "description": "A free and open source geographic information system (GIS)", + "homepage": "https://www.qgis.org/", + "license": "GPL-2.0-or-later", + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-3.44.9-1.msi", + "hash": "711d6df99f450522a1e22755fcbfed65d5190c1e4c241793bc2f80ff1a2c24ba" + } + }, + "extract_dir": "QGIS 3.44.9", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$(shortcut_folder $global)\" \"%USERPROFILE%\\Desktop\" 0 1", + "bin": "OSGeo4W.bat", + "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", + "checkver": { + "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", + "jsonpath": "$.ltr_msi", + "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?).msi" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.msi", + "hash": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.sha256sum" + } + } + }, + "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" + } +} diff --git a/qgis.json b/bucket/qgis.json similarity index 89% rename from qgis.json rename to bucket/qgis.json index 104af9dad52769..d325d737e3749d 100644 --- a/qgis.json +++ b/bucket/qgis.json @@ -1,32 +1,32 @@ -{ - "version": "4.0.1-1", - "description": "A free and open source geographic information system (GIS)", - "homepage": "https://www.qgis.org/", - "license": "GPL-2.0-or-later", - "architecture": { - "64bit": { - "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-4.0.1-1.msi", - "hash": "a5341c6151a6267879f3477c92030844b9a38ecf26c0c535a21bbaf44e1ee96c" - } - }, - "extract_dir": "QGIS 4.0.1", - "post_install": "& \"$dir\\etc\\postinstall.bat\" \"OSGeo4W\" \"%USERPROFILE%\\Desktop\" 0 1", - "bin": "OSGeo4W.bat", - "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", - "checkver": { - "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", - "jsonpath": "$.lr_msi", - "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?).msi" - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.msi", - "hash": { - "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.sha256sum" - } - } - }, - "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" - } -} +{ + "version": "4.0.1-1", + "description": "A free and open source geographic information system (GIS)", + "homepage": "https://www.qgis.org/", + "license": "GPL-2.0-or-later", + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-4.0.1-1.msi", + "hash": "a5341c6151a6267879f3477c92030844b9a38ecf26c0c535a21bbaf44e1ee96c" + } + }, + "extract_dir": "QGIS 4.0.1", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$(shortcut_folder $global)\" \"%USERPROFILE%\\Desktop\" 0 1", + "bin": "OSGeo4W.bat", + "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", + "checkver": { + "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", + "jsonpath": "$.lr_msi", + "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?).msi" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.msi", + "hash": { + "url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.sha256sum" + } + } + }, + "extract_dir": "QGIS $majorVersion.$minorVersion.$patchVersion" + } +} From 858383318bc4cd0f073b6c600e9f2b4003471383 Mon Sep 17 00:00:00 2001 From: Dawei Huang Date: Sat, 25 Apr 2026 01:11:10 +0200 Subject: [PATCH 4/5] Fix `regex` --- bucket/qgis-grids.json | 2 +- bucket/qgis-ltr-grids.json | 2 +- bucket/qgis-ltr.json | 2 +- bucket/qgis.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bucket/qgis-grids.json b/bucket/qgis-grids.json index 76bef563a2d741..b2b42867280df4 100644 --- a/bucket/qgis-grids.json +++ b/bucket/qgis-grids.json @@ -16,7 +16,7 @@ "checkver": { "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", "jsonpath": "$.lr_grids_msi", - "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?).msi" + "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?)\\.msi" }, "autoupdate": { "architecture": { diff --git a/bucket/qgis-ltr-grids.json b/bucket/qgis-ltr-grids.json index fe0c1a07d45777..63e383d7059eb2 100644 --- a/bucket/qgis-ltr-grids.json +++ b/bucket/qgis-ltr-grids.json @@ -16,7 +16,7 @@ "checkver": { "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", "jsonpath": "$.ltr_grids_msi", - "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?).msi" + "regex": "/QGIS-Grids-OSGeo4W-([\\d.]+(-\\d+)?)\\.msi" }, "autoupdate": { "architecture": { diff --git a/bucket/qgis-ltr.json b/bucket/qgis-ltr.json index 8e4d68ccf628eb..8c9684d2c38897 100644 --- a/bucket/qgis-ltr.json +++ b/bucket/qgis-ltr.json @@ -16,7 +16,7 @@ "checkver": { "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", "jsonpath": "$.ltr_msi", - "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?).msi" + "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?)\\.msi" }, "autoupdate": { "architecture": { diff --git a/bucket/qgis.json b/bucket/qgis.json index d325d737e3749d..8c56484ea71c1e 100644 --- a/bucket/qgis.json +++ b/bucket/qgis.json @@ -16,7 +16,7 @@ "checkver": { "url": "https://github.com/qgis/QGIS-Website/raw/main/data/conf.json", "jsonpath": "$.lr_msi", - "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?).msi" + "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?)\\.msi" }, "autoupdate": { "architecture": { From d2b4ad8be717d2e24bf04792f462cd00f06ff9bd Mon Sep 17 00:00:00 2001 From: Dawei Huang Date: Sat, 25 Apr 2026 01:16:36 +0200 Subject: [PATCH 5/5] Fix `post_install` * Use subfolders for start menus as the preremove will purge the entire folder --- bucket/qgis-grids.json | 2 +- bucket/qgis-ltr-grids.json | 2 +- bucket/qgis-ltr.json | 2 +- bucket/qgis.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bucket/qgis-grids.json b/bucket/qgis-grids.json index b2b42867280df4..2fe91a072c9514 100644 --- a/bucket/qgis-grids.json +++ b/bucket/qgis-grids.json @@ -10,7 +10,7 @@ } }, "extract_dir": "QGIS 4.0.1", - "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$(shortcut_folder $global)\" \"%USERPROFILE%\\Desktop\" 0 1", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$([System.IO.Path]::Combine(shortcut_folder $global, 'OSGeo4W'))\" \"%USERPROFILE%\\Desktop\" 0 1", "bin": "OSGeo4W.bat", "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", "checkver": { diff --git a/bucket/qgis-ltr-grids.json b/bucket/qgis-ltr-grids.json index 63e383d7059eb2..ae863ffa7ec2d6 100644 --- a/bucket/qgis-ltr-grids.json +++ b/bucket/qgis-ltr-grids.json @@ -10,7 +10,7 @@ } }, "extract_dir": "QGIS 3.44.9", - "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$(shortcut_folder $global)\" \"%USERPROFILE%\\Desktop\" 0 1", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$([System.IO.Path]::Combine(shortcut_folder $global, 'OSGeo4W'))\" \"%USERPROFILE%\\Desktop\" 0 1", "bin": "OSGeo4W.bat", "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", "checkver": { diff --git a/bucket/qgis-ltr.json b/bucket/qgis-ltr.json index 8c9684d2c38897..9b4916eac4d04c 100644 --- a/bucket/qgis-ltr.json +++ b/bucket/qgis-ltr.json @@ -10,7 +10,7 @@ } }, "extract_dir": "QGIS 3.44.9", - "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$(shortcut_folder $global)\" \"%USERPROFILE%\\Desktop\" 0 1", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$([System.IO.Path]::Combine(shortcut_folder $global, 'OSGeo4W'))\" \"%USERPROFILE%\\Desktop\" 0 1", "bin": "OSGeo4W.bat", "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", "checkver": { diff --git a/bucket/qgis.json b/bucket/qgis.json index 8c56484ea71c1e..eb49099b4c289c 100644 --- a/bucket/qgis.json +++ b/bucket/qgis.json @@ -10,7 +10,7 @@ } }, "extract_dir": "QGIS 4.0.1", - "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$(shortcut_folder $global)\" \"%USERPROFILE%\\Desktop\" 0 1", + "post_install": "& \"$dir\\etc\\postinstall.bat\" \"$([System.IO.Path]::Combine(shortcut_folder $global, 'OSGeo4W'))\" \"%USERPROFILE%\\Desktop\" 0 1", "bin": "OSGeo4W.bat", "pre_uninstall": "& \"$dir\\etc\\preremove.bat\"", "checkver": {