mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for self updater
This commit is contained in:
parent
923e360a54
commit
d25002501e
@ -113,4 +113,11 @@ class SelfUpdateController extends BaseController
|
||||
{
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user