mirror of
https://github.com/jellyfin/jellyfin-uwp.git
synced 2024-11-23 05:59:43 +00:00
Added Scheme Logic & Updated cert
Added logic so Uri scheme is automatic Update boarding UI Update cert and version number
This commit is contained in:
parent
334c5a63d6
commit
babbc02615
@ -18,7 +18,7 @@
|
||||
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
|
||||
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
|
||||
<PackageCertificateThumbprint></PackageCertificateThumbprint>
|
||||
<PackageCertificateThumbprint>EF81D47F070B368F7DF6C161008658187E2A0BDA</PackageCertificateThumbprint>
|
||||
<PackageCertificateKeyFile>Jellyfin_TemporaryKey.pfx</PackageCertificateKeyFile>
|
||||
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
|
||||
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
|
||||
|
Binary file not shown.
@ -7,9 +7,9 @@
|
||||
IgnorableNamespaces="uap mp">
|
||||
|
||||
<Identity
|
||||
Name="20468Jellyfin.Jellyfin"
|
||||
Name="Jellyfin.Jellyfin"
|
||||
Publisher="CN=3D3639CB-31B4-4125-B529-F73741781F84"
|
||||
Version="0.8.0.0" />
|
||||
Version="0.8.1.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="937c0b5e-fd4f-4059-bb35-5f17a6af72ea" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
Foreground="{StaticResource Color100}" FontSize="{StaticResource FontM}" />
|
||||
<TextBox x:Name="txtUrl" Style="{StaticResource PrimaryTextBox}" Margin="0 8 0 8" />
|
||||
<TextBlock FontFamily="{StaticResource JellyfinFamilyFont}"
|
||||
Text="ex: 192.168.1.100:8096 or https://myserver.com"
|
||||
Text="ex: 192.168.1.100:8096 or https://myserver.com. The protocol 'http://' and 'https://' will be automatically added."
|
||||
Foreground="{StaticResource Color90}" FontSize="{StaticResource FontS}"
|
||||
Margin="0 0 0 28 "/>
|
||||
<TextBlock
|
||||
|
@ -82,15 +82,8 @@ namespace Jellyfin.Views
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Uri testUri = new Uri(uriString);
|
||||
|
||||
// check scheme
|
||||
if (testUri.Scheme != "http" && testUri.Scheme != "https")
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
//add scheme to uri if not included
|
||||
Uri testUri = new UriBuilder(uriString).Uri;
|
||||
// check URL exists
|
||||
HttpWebRequest request;
|
||||
HttpWebResponse response;
|
||||
|
Loading…
Reference in New Issue
Block a user