... basiert auf Conversations und ist ein Open Source XMPP/Jabber Messenger für Android https://codeberg.org/kriztan
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
418 B

<?php
$json = file_get_contents('https://api.github.com/repos/kriztan/Pix-Art-Messenger/releases/latest');
$data = json_decode($json);
$filename = $data->assets[0]->name;
$filesize = $data->assets[0]->size;
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="'.$filename.'";');
header('Content-Length: '.$filesize);
readfile($data->assets[0]->browser_download_url);
?>