Skip to content

Commit

Permalink
fix updater versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Jan 9, 2021
1 parent 7ba33e3 commit 6316f82
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/Updater/GithubStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

use Humbug\SelfUpdate\Updater;
use LaravelZero\Framework\Components\Updater\Strategy\StrategyInterface;
use Str;

final class GithubStrategy extends \Humbug\SelfUpdate\Strategy\GithubStrategy implements StrategyInterface
{
Expand All @@ -24,10 +25,8 @@ public function getCurrentRemoteVersion(Updater $updater)

protected function getDownloadUrl(array $package)
{
$url = parent::getDownloadUrl($package)."dock";

dump("Download url: $url");
return $url;
$url = parent::getDownloadUrl($package);
return Str::of($url)->append('dock');
}


Expand Down

0 comments on commit 6316f82

Please sign in to comment.