Skip to content

Commit

Permalink
Fix Updater not downloading svt-av1 and rav1e
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkl committed Sep 3, 2020
1 parent 364db0f commit d290e56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions NotEnoughAV1Encodes/DownloadDependencies.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ private void ParseRav1eGithub()
var latest = releases[0];
string rav1eUrlRepo = latest.HtmlUrl;

rav1eUrlGithub = rav1eUrlRepo + "/rav1e.exe"; //The download Path for the latest rav1e build (hopefully)
rav1eUrlGithub = rav1eUrlRepo.Replace("tag", "download") + "/rav1e.exe"; //The download Path for the latest rav1e build (hopefully)
rav1eVersionUpdate = latest.CreatedAt.ToString("yyyy.MM.dd");
}

Expand All @@ -435,8 +435,8 @@ private void ParseSVTAV1Github()
string svtUrlRepo = latest.HtmlUrl;

svtav1VersionUpdate = latest.CreatedAt.ToString("yyyy.MM.dd");
svtav1UrlGithub = svtUrlRepo + "/SvtAv1EncApp.exe"; //The download Path for the latest rav1e build (hopefully)
svtav1UrlGithubLib = svtUrlRepo + "/SvtAv1Enc.lib";
svtav1UrlGithub = svtUrlRepo.Replace("tag", "download") + "/SvtAv1EncApp.exe"; //The download url for the latest svt-av1 build (hopefully)
svtav1UrlGithubLib = svtUrlRepo.Replace("tag", "download") + "/SvtAv1Enc.lib";
}
}
}
2 changes: 1 addition & 1 deletion NotEnoughAV1Encodes/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@
<Image HorizontalAlignment="Left" Height="45" VerticalAlignment="Top" Width="45" Source="img/paypal.png"/>
</Button>
<Label Content="Version:" HorizontalAlignment="Left" Margin="598,14,0,0" VerticalAlignment="Top" FontSize="14" Foreground="{Binding Foreground, ElementName=LabelPresets, UpdateSourceTrigger=PropertyChanged}"/>
<TextBox x:Name="TextBoxProgramVersion" HorizontalAlignment="Left" Foreground="{Binding Foreground, ElementName=LabelPresets, UpdateSourceTrigger=PropertyChanged}" Height="24" Margin="661,16,0,0" TextWrapping="Wrap" Text="1.1 - AppVeyor 1.0.139" VerticalAlignment="Top" Width="237" IsReadOnly="True" FontSize="14" VerticalContentAlignment="Center" BorderBrush="{x:Null}" Background="{x:Null}"/>
<TextBox x:Name="TextBoxProgramVersion" HorizontalAlignment="Left" Foreground="{Binding Foreground, ElementName=LabelPresets, UpdateSourceTrigger=PropertyChanged}" Height="24" Margin="661,16,0,0" TextWrapping="Wrap" Text="1.1 - AppVeyor 1.0.140" VerticalAlignment="Top" Width="237" IsReadOnly="True" FontSize="14" VerticalContentAlignment="Center" BorderBrush="{x:Null}" Background="{x:Null}"/>
<Label Content="Github:" Foreground="{Binding Foreground, ElementName=LabelPresets, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Margin="608,40,0,0" VerticalAlignment="Top"/>
<TextBlock HorizontalAlignment="Left" Margin="661,45,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="21" Width="272">
<Hyperlink NavigateUri="https://github.com/Alkl58/NotEnoughAV1Encodes" RequestNavigate="Hyperlink_RequestNavigate">https://github.com/Alkl58/NotEnoughAV1Encodes</Hyperlink>
Expand Down

0 comments on commit d290e56

Please sign in to comment.