Merge remote-tracking branch 'origin/master' into quickstart

This commit is contained in:
Jeremy Kauffman 2017-02-27 18:17:06 -05:00
commit a942ac5a70
6 changed files with 26 additions and 3 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ nbproject
composer
.ht*
/vendor/
.DS_Store

View file

@ -0,0 +1,21 @@
---
author: reilly
title: 'Integrity 2.0'
date: '2017-02-23 00:20:00'
cover: 'timcast-banner.jpg'
---
You got your daily news fix with [1791L](https://lbry.io/news/1791l).
But what if you were even closer to the action? What if, instead of spitballing in well-lit newsrooms on comfy couches, LBRY could bring back the journalism of yesterday, right from the field?
Enter @Timcast with independent journalist Tim Pool.
![Timcast](/img/news/timcast-inline.jpg)
Tim has been bringing uncensored, raw coverage of news from the frontlines for six years, and hes only just getting started. He is the quintessential independent journalist, unfunded by corporate news outlets or special interests. You can donate [to his Patreon here](https://www.patreon.com/timcast) and his current [investigation in Sweden here](https://www.gofundme.com/lastnightinsweden).
Start following his coverage of Swedens crime issues at lbry://timcast-sweden-day1 -- and each day afterward as Tim uncovers the truth about Swedish crime and immigration.
Tim Pools work has been syndicated by NBC, Al Jazeera, VICE, Fusion TV, RT and Time.
**Not on LBRY yet?** [Get an invite here](https://lbry.io/get). Have news you want to share uncensored on LBRY? Email reilly@lbry.io to get to the bottom of the story.

View file

@ -127,7 +127,8 @@ class Controller
'/deck.pdf' => 'https://www.dropbox.com/s/0xj4vgucsbi8rtv/lbry-deck.pdf?dl=1',
'/pln.pdf' => 'https://www.dropbox.com/s/uevjrwnyr672clj/lbry-pln.pdf?dl=1',
'/plan.pdf' => 'https://www.dropbox.com/s/uevjrwnyr672clj/lbry-pln.pdf?dl=1',
'/api' => 'http://lbryio.github.io/lbry'
'/api' => 'https://lbryio.github.io/lbry',
'/api-help' => 'https://lbryio.github.io/lbry'
];

View file

@ -11,14 +11,14 @@ class Github
try
{
$releaseData = static::get('/repos/lbryio/lbry/releases/latest', $cache);
$releaseData = static::get('/repos/lbryio/lbry-app/releases/latest', $cache);
foreach ($releaseData['assets'] as $asset)
{
$ext = substr($asset['name'], -4);
if (
($os == OS::OS_LINUX && ($ext == '.deb' || in_array($asset['content_type'], ['application/x-debian-package', 'application/x-deb']))) ||
($os == OS::OS_OSX && ($ext == '.dmg' || in_array($asset['content_type'], ['application/x-diskcopy', 'application/x-apple-diskimage']))) ||
($os == OS::OS_WINDOWS && $ext == '.msi')
($os == OS::OS_WINDOWS && $ext == '.exe')
)
{
return $asset['browser_download_url'];

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB