|
1 | 1 | { |
2 | | - "version": "2.1.14", |
3 | | - "description": "Read, edit, convert, merge, and sign PDFs across devices for free, no registration required.", |
| 2 | + "version": "2.1.15", |
| 3 | + "description": "A free, cross-platform PDF application that allows you to read, edit, convert, and merge documents across devices without requiring registration.", |
4 | 4 | "homepage": "https://www.pdfgear.com", |
5 | 5 | "license": { |
6 | 6 | "identifier": "Freeware", |
7 | 7 | "url": "https://www.pdfgear.com/end-user-license-agreement/" |
8 | 8 | }, |
| 9 | + "notes": [ |
| 10 | + "To register file associations, please execute the following command:", |
| 11 | + "reg import \"$dir\\install-associations.reg\"" |
| 12 | + ], |
9 | 13 | "architecture": { |
10 | 14 | "64bit": { |
11 | | - "url": "https://downloadfiles.pdfgear.com/releases/windows/pdfgear_setup_v2.1.14.exe", |
12 | | - "hash": "b668557a3874cc6d0775d1b4375b23908226f7af4f84515f3f4791b7d0809d13" |
| 15 | + "url": "https://downloadfiles.pdfgear.com/releases/windows/pdfgear_setup_v2.1.15.exe", |
| 16 | + "hash": "3a37578a08e0723b1bd101482c9e3cfa8f4add4f8854ec0187fc5cf2bfef9fe2" |
13 | 17 | } |
14 | 18 | }, |
15 | 19 | "innosetup": true, |
| 20 | + "post_install": [ |
| 21 | + "$pdfgear_dir = $dir -replace '\\\\', '\\\\'", |
| 22 | + "Get-ChildItem -Path \"$bucketsdir\\$bucket\\scripts\\$app\" -Filter '*.reg' -File | ForEach-Object {", |
| 23 | + " $content = Get-Content -Path $_.FullName -Encoding utf8", |
| 24 | + " if ($global) { $content = $content -replace 'HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE' }", |
| 25 | + " $content -replace '{{pdfgear_dir}}', $pdfgear_dir | Set-Content -Path \"$dir\\$($_.Name)\" -Encoding unicode", |
| 26 | + "}" |
| 27 | + ], |
| 28 | + "bin": [ |
| 29 | + "pdfeditor.exe", |
| 30 | + "PDFLauncher.exe", |
| 31 | + "pdfconverter.exe" |
| 32 | + ], |
16 | 33 | "shortcuts": [ |
17 | 34 | [ |
18 | 35 | "PDFLauncher.exe", |
19 | 36 | "PDFgear" |
20 | 37 | ] |
21 | 38 | ], |
| 39 | + "uninstaller": { |
| 40 | + "script": [ |
| 41 | + "if ($cmd -ne 'uninstall') { return }", |
| 42 | + "Get-ChildItem -Path $dir -Filter 'un*.reg' -File | ForEach-Object -Process {", |
| 43 | + " $registry_file = '\"{0}\"' -f $_.FullName", |
| 44 | + " Start-Process -FilePath 'reg.exe' -ArgumentList @('import', $registry_file) -WindowStyle Hidden -Wait", |
| 45 | + "}" |
| 46 | + ] |
| 47 | + }, |
22 | 48 | "checkver": { |
23 | | - "url": "https://www.pdfgear.com/pdfgear-for-windows", |
| 49 | + "url": "https://www.pdfgear.com/js/jquery.common.js", |
24 | 50 | "regex": "pdfgear_setup_v([\\d.]+)\\.exe" |
25 | 51 | }, |
26 | 52 | "autoupdate": { |
|
0 commit comments