diff --git a/bucket/diagram-designer.json b/bucket/diagram-designer.json index 62608c0a42b7ba..7fbd3c36678d5a 100644 --- a/bucket/diagram-designer.json +++ b/bucket/diagram-designer.json @@ -1,18 +1,30 @@ { "version": "1.30.0", - "description": "Vector graphics editor for creating flowcharts, UML class diagrams, illustrations and slide shows", + "description": "Vector graphics editor for creating flowcharts, UML class diagrams, illustrations and slide shows.", "homepage": "https://logicnet.dk/DiagramDesigner/", - "license": "Freeware", + "license": { + "identifier": "MIT", + "url": "https://github.com/meesoft/DiagramDesigner/blob/master/LICENSE" + }, "notes": "Template palettes can be downloaded from 'https://github.com/meesoft/DiagramDesigner/tree/master/TemplatePalettes'", "url": "https://www.fosshub.com/Diagram-Designer.html/DiagramDesignerSetup.1.30.0.msi", "hash": "0df1070ecc634204d93f4a85394f1f9680d9cd1a6d184e123dc980e59ede3d6f", + "pre_install": [ + "if (get_config USE_LESSMSI $false) {", + " Move-Item \"$dir\\APPDIR\\*\" \"$dir\\\"", + " Remove-Item \"$dir\\APPDIR\"", + "}" + ], "shortcuts": [ [ "DiagramDesigner.exe", "Diagram Designer" ] ], - "checkver": "Diagram Designer ([\\d.]+)", + "checkver": { + "url": "https://www.fosshub.com/Diagram-Designer.html", + "regex": "\"softwareVersion\">([\\d.]+)<" + }, "autoupdate": { "url": "https://www.fosshub.com/Diagram-Designer.html/DiagramDesignerSetup.$version.msi" }