Skip to content

Commit

Permalink
Added diagrams.net
Browse files Browse the repository at this point in the history
  • Loading branch information
apps.0install.net committed Jan 31, 2022
1 parent 9091688 commit 8b2a9f0
Show file tree
Hide file tree
Showing 13 changed files with 483 additions and 0 deletions.
11 changes: 11 additions & 0 deletions gui/drawio-linux.watch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#os=Linux
import sys, os
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import github

excluded_versions = ['v15.3.7']

releases = [{
'version': release['tag_name'].strip('v'),
'released': release['published_at'][0:10]
} for release in github.releases('jgraph/drawio-desktop') if not release['prerelease'] and not release['tag_name'] in excluded_versions and any(asset['name'].endswith('.deb') for asset in release['assets'])]
119 changes: 119 additions & 0 deletions gui/drawio-linux.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<?xml version="1.0" ?>
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" uri="https://apps.0install.net/gui/drawio-linux.xml">
<name>diagrams.net - Linux builds</name>
<summary>diagramming and whiteboarding app</summary>
<description>diagrams.net, formerly known as draw.io, is a diagramming and whiteboarding app</description>
<icon href="https://raw.githubusercontent.com/0install/apps/master/gui/drawio.png" type="image/png"/>
<category>Graphics</category>
<homepage>https://www.diagrams.net/</homepage>

<group license="Apache License 2.0">
<command name="run" path="opt/draw.io/drawio"/>

<implementation arch="Linux-x86_64" released="2020-08-10" stability="stable" version="13.6.2" id="sha1new=dab3081a8829debc20ed9eab19e7600d8abaf462">
<manifest-digest sha256new="7353SZABZHDXUFIOPRTE5TOIEUISWEHKFEAVZXSEBVO4ZQIOEVOQ"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v13.6.2/draw.io-amd64-13.6.2.deb" type="application/x-deb" size="74721050"/>
</implementation>
<implementation arch="Linux-x86_64" released="2020-09-17" stability="stable" version="13.7.3" id="sha1new=7a4997b1b15b3e7219564dbedc8c8adb9384a44f">
<manifest-digest sha256new="HQSQMFSDP72TGLM4MIF6LN5364GDBPUQ5RFR5ZF6EC2KEPYD37MQ"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v13.7.3/draw.io-amd64-13.7.3.deb" type="application/x-deb" size="76685746"/>
</implementation>
<implementation arch="Linux-x86_64" released="2020-10-08" stability="stable" version="13.7.9" id="sha1new=5a69d1c382805e6db4c941b667cc4aaab95dc25d">
<manifest-digest sha256new="E4D3FM4Q2SXT4PRJ6BVC546V64XFDGKPJX24FRCQ7W27M3HAVNEA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v13.7.9/draw.io-amd64-13.7.9.deb" type="application/x-deb" size="77454760"/>
</implementation>
<implementation arch="Linux-x86_64" released="2020-11-13" stability="stable" version="13.9.5" id="sha1new=e009c1d24f7f52596286bf1bb34f0f8cf5fa8564">
<manifest-digest sha256new="KHH3GWHJOXN3PWXUN6N4GCV2MAWGPRNNSXXL5G6PD5HN67AL5VXQ"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v13.9.5/draw.io-amd64-13.9.5.deb" type="application/x-deb" size="77497574"/>
</implementation>
<implementation arch="Linux-x86_64" released="2020-11-15" stability="stable" version="13.9.8" id="sha1new=dffb1a7b69042f93ad387538867cc211583a0af6">
<manifest-digest sha256new="QQM3KMMO6QR2W2EIVGLYGG6GCJ5ZUFJUN5DS6AKFZT2P6LPZ74HA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v13.9.8/draw.io-amd64-13.9.8.deb" type="application/x-deb" size="77523380"/>
</implementation>
<implementation arch="Linux-x86_64" released="2020-11-16" stability="stable" version="13.9.9" id="sha1new=2d3bbb7edd6f0294bc66fc97814a8024e9da28e3">
<manifest-digest sha256new="IV6HOIQHAKQ5PBWHY5IN5UAHPHPSLEZWNV7JUYSTW7S5BAEWINYA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v13.9.9/draw.io-amd64-13.9.9.deb" type="application/x-deb" size="77517992"/>
</implementation>
<implementation arch="Linux-x86_64" released="2020-12-31" stability="stable" version="14.1.4" id="sha1new=ed1931d80f04c9dc3c3e1a1acd528dff2cf25d25">
<manifest-digest sha256new="TJVPSFOYK5Z45DLNYIGF4MIFZNFYGMZUI2EV2X7YYQWUYPBT2P4Q"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v14.1.4/draw.io-amd64-14.1.4.deb" type="application/x-deb" size="79234044"/>
</implementation>
<implementation arch="Linux-x86_64" released="2020-12-31" stability="stable" version="14.1.5" id="sha1new=b7d832ec4f6df7efbc0df32d3e803483fc87653f">
<manifest-digest sha256new="PRDH446WAE4RINQ2MBRLRYFKGY4SRMB4LII72H6H2K6S73N6L4YQ"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v14.1.5/draw.io-amd64-14.1.5.deb" type="application/x-deb" size="79234368"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-01-03" stability="stable" version="14.1.8" id="sha1new=2f3f28e5e97ac3552c89a75ec4a5772afce44e90">
<manifest-digest sha256new="CPM4SM7P4CRUVZC2YW73RKLCC633JTILWI7KYA6QBJEYKWKQBOVQ"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v14.1.8/draw.io-amd64-14.1.8.deb" type="application/x-deb" size="79222208"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-02-24" stability="stable" version="14.4.3" id="sha1new=0163b4b1c3bfc0456edd7989cf82dab149681f5e">
<manifest-digest sha256new="B5HDRKDJPPVLWV23FQ3FRLPTPQVEYD7MH2PDCXRQ37Y7FAKDSZUA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v14.4.3/draw.io-amd64-14.4.3.deb" type="application/x-deb" size="79495916"/>
</implementation>
</group>

<group license="Apache License 2.0">
<command name="run" path="opt/drawio/drawio"/>

<implementation arch="Linux-x86_64" released="2021-03-25" stability="stable" version="14.5.1" id="sha1new=4dd9e338aee3f737d799af4a4ebe63c1c1d9a929">
<manifest-digest sha256new="C3DSACGIULT4M7BBP2UHWIV7WT7FZAFXVOM4EYVBDJ7DH4AOQB2Q"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v14.5.1/drawio-amd64-14.5.1.deb" type="application/x-deb" size="82073294"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-05-13" stability="stable" version="14.6.13" id="sha1new=b1e30d4eb61db14f5d721d7164e3849662a09153">
<manifest-digest sha256new="JKDFTK4QXZU2ZLOYA3SD5RNJAENIABRT4VLMNDURYDSDBJPMDXKA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v14.6.13/drawio-amd64-14.6.13.deb" type="application/x-deb" size="83577244"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-08-16" stability="stable" version="14.9.6" id="sha1new=4daaefa66c95c087bc697702d184c075707aee9a">
<manifest-digest sha256new="CWKNF3EUACY2AJX5B2HRI7H3G5BHSI4HSM7R5BNAF27LBUJJ5BIQ"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v14.9.6/drawio-amd64-14.9.6.deb" type="application/x-deb" size="83630670"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-09-09" stability="stable" version="15.1.3" id="sha1new=c90883037d16deaad5a601d46203a9a7fa875417">
<manifest-digest sha256new="HSFPNBD7UA63NBGRYRPGCGLKYD56KMEV5FMQ6EFXYB5IKTHXMECA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v15.1.3/drawio-amd64-15.1.3.deb" type="application/x-deb" size="83210942"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-09-29" stability="stable" version="15.3.8" id="sha1new=393705db9f4ce8ca29f04ddac22defaca8af5db5">
<manifest-digest sha256new="2GC544264XHQ54MRP6WZK7YOELUTFC7NVO5DRSWWZKSTCP24SJVA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v15.3.8/drawio-amd64-15.3.8.deb" type="application/x-deb" size="82671468"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-10-01" stability="stable" version="15.4.0" id="sha1new=fb003dff3ecb4be46b9a0984e1f7175d171c73ea">
<manifest-digest sha256new="767UD4P4UN674NEULMCIHWWAEYJ7ZCRX3JZLY2376JXSGLBC6PGA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v15.4.0/drawio-amd64-15.4.0.deb" type="application/x-deb" size="82575934"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-11-10" stability="stable" version="15.7.3" id="sha1new=03f6455997249a44f2046171c91b6fb18fe134f6">
<manifest-digest sha256new="UU2UBE5N5PHILH4DJWSA7IIZMQLOX3BFYE5M6V35QK2QOEL3BBFA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v15.7.3/drawio-amd64-15.7.3.deb" type="application/x-deb" size="82853080"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-11-23" stability="stable" version="15.8.4" id="sha1new=589a36102596b331c19f7871457e3aedbcc3d2bc">
<manifest-digest sha256new="2Y5UXBNQAHOELFERP5TPYOGJJNHEQ7KDEVWZJ7YHR2772PPP4YKQ"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v15.8.4/drawio-amd64-15.8.4.deb" type="application/x-deb" size="82802648"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-11-29" stability="stable" version="15.8.7" id="sha1new=b0ae2331e7c91178235887abc78e38eab471722f">
<manifest-digest sha256new="P6PUBSLAT7R3SQAOQZK3JMYY6BBQI2XAS6T2C76M4CGBA6QB3BCQ"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v15.8.7/drawio-amd64-15.8.7.deb" type="application/x-deb" size="82813684"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-12-17" stability="stable" version="16.0.0" id="sha1new=1c568ddcb78fa160235aa7a65a9e1115af1ccc5d">
<manifest-digest sha256new="F6RNAFMTPNV6TIFAACZFXMHGCH6HKGENA2HWJVTOWR6WGFJWUE6A"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v16.0.0/drawio-amd64-16.0.0.deb" type="application/x-deb" size="82722808"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-12-21" stability="stable" version="16.0.2" id="sha1new=9ebe6adcd4087f5b598c9bb90afabefeceb09369">
<manifest-digest sha256new="M76V7BNCUZQCKNTXR5ZXPANPFBWLXHIFYTK5CMFQF2KTKCUE2SCQ"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v16.0.2/drawio-amd64-16.0.2.deb" type="application/x-deb" size="96140092"/>
</implementation>
<implementation arch="Linux-x86_64" released="2021-12-30" stability="stable" version="16.1.2" id="sha1new=e0cae14260c6ba05d09f9686e71a0fdec076509d">
<manifest-digest sha256new="4HF4MUDJ67PZKNGL4PFG3MPJSMWNQILDMH7WDRWCLUWOVLKBMC6Q"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v16.1.2/drawio-amd64-16.1.2.deb" type="application/x-deb" size="96141048"/>
</implementation>
<implementation arch="Linux-x86_64" released="2022-01-20" stability="stable" version="16.4.0" id="sha1new=2dd2ad7bead6781654cba0b8d8122258280def5a">
<manifest-digest sha256new="IHMMTMZ6AE7VKGDB3VDLVNJISVSPIC2UV4MW7BLUNANQAUHZQ4IA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v16.4.0/drawio-amd64-16.4.0.deb" type="application/x-deb" size="96215076"/>
</implementation>
<implementation arch="Linux-x86_64" released="2022-01-27" stability="stable" version="16.4.11" id="sha1new=f3950c7ddfa6df6c0414ef3cba6b5b5dcd0da8be">
<manifest-digest sha256new="IQXNHBBTQ4PHQWMGVVKDJHPUU44DPY5QDF2EE6O6FYRJ36GWTLTA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v16.4.11/drawio-amd64-16.4.11.deb" type="application/x-deb" size="96031496"/>
</implementation>
<implementation arch="Linux-x86_64" released="2022-01-28" stability="stable" version="16.5.1" id="sha1new=fc6ef72dab52c694861c2f951e3fea6b5d4965a0">
<manifest-digest sha256new="ZBFXKCAUZERBW366J2XGB5GQTE6S77HEMKJJYGNLSRQJIKG43GXA"/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v16.5.1/drawio-amd64-16.5.1.deb" type="application/x-deb" size="96021854"/>
</implementation>
</group>
</interface>
20 changes: 20 additions & 0 deletions gui/drawio-linux.xml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface">
<name>diagrams.net - Linux builds</name>
<summary>diagramming and whiteboarding app</summary>
<description>diagrams.net, formerly known as draw.io, is a diagramming and whiteboarding app</description>
<icon href="https://raw.githubusercontent.com/0install/apps/master/gui/drawio.png" type="image/png"/>
<category>Graphics</category>
<homepage>https://www.diagrams.net/</homepage>

<feed-for interface="https://apps.0install.net/gui/drawio-linux.xml"/>

<group license="Apache License 2.0">
<command name="run" path="opt/drawio/drawio"/>

<implementation arch="Linux-x86_64" released="{released}" stability="stable" version="{version}">
<manifest-digest/>
<archive href="https://github.com/jgraph/drawio-desktop/releases/download/v{version}/drawio-amd64-{version}.deb" type="application/x-deb"/>
</implementation>
</group>
</interface>
11 changes: 11 additions & 0 deletions gui/drawio-macos.watch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#os=Darwin
import sys, os
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import github

excluded_versions = ['v15.3.7']

releases = [{
'version': release['tag_name'].strip('v'),
'released': release['published_at'][0:10]
} for release in github.releases('jgraph/drawio-desktop') if not release['prerelease'] and not release['tag_name'] in excluded_versions]
Loading

0 comments on commit 8b2a9f0

Please sign in to comment.