1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00

Fixes for self updater

This commit is contained in:
David Bomba 2022-03-19 13:00:29 +11:00
parent 923e360a54
commit d25002501e

View File

@ -113,4 +113,11 @@ class SelfUpdateController extends BaseController
{ {
return trim(file_get_contents(config('ninja.version_url'))); return trim(file_get_contents(config('ninja.version_url')));
} }
private function getDownloadUrl()
{
$version = $this->checkVersion();
return "https://github.com/invoiceninja/invoiceninja/releases/download/v{$verion}/invoiceninja.zip"
}
} }