forked from little1tow/BiliBili-UWP
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from xiaoyaocz/feature_uitweaks
UI调整并API完善
- Loading branch information
Showing
85 changed files
with
2,043 additions
and
1,207 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+441 Bytes
bilibili2/Assets/Square44x44Logo.targetsize-16_altform-unplated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Binary file modified
BIN
-3.52 KB
(15%)
bilibili2/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+833 Bytes
bilibili2/Assets/Square44x44Logo.targetsize-32_altform-unplated.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
MainPackage=F:\UWP开发\APP项目\bilibili2\bilibili2\bin\ARM\Release\Upload\bilibili2_2.7.1.0_ARM.appx | ||
SymbolPackage=F:\UWP开发\APP项目\bilibili2\bilibili2\AppPackages\bilibili2_2.7.1.0\bilibili2_2.7.1.0_ARM.appxsym | ||
ResourcePack=F:\UWP开发\APP项目\bilibili2\bilibili2\_scale-100.appx | ||
ResourcePack=F:\UWP开发\APP项目\bilibili2\bilibili2\_scale-125.appx | ||
MainPackage=E:\UWP\bilibili2\bilibili2\bin\ARM\Release\Upload\bilibili2_2.7.8.0_ARM.appx | ||
SymbolPackage=E:\UWP\bilibili2\bilibili2\AppPackages\bilibili2_2.7.8.0\bilibili2_2.7.8.0_ARM.appxsym | ||
ResourcePack=E:\UWP\bilibili2\bilibili2\_scale-100.appx | ||
ResourcePack=E:\UWP\bilibili2\bilibili2\_scale-125.appx | ||
ResourcePack=E:\UWP\bilibili2\bilibili2\_scale-150.appx | ||
ResourcePack=E:\UWP\bilibili2\bilibili2\_scale-400.appx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
MainPackage=F:\UWP开发\APP项目\bilibili2\bilibili2\bin\x64\Release\Upload\bilibili2_2.7.1.0_x64.appx | ||
SymbolPackage=F:\UWP开发\APP项目\bilibili2\bilibili2\AppPackages\bilibili2_2.7.1.0\bilibili2_2.7.1.0_x64.appxsym | ||
MainPackage=E:\UWP\bilibili2\bilibili2\bin\x64\Release\Upload\bilibili2_2.7.8.0_x64.appx | ||
SymbolPackage=E:\UWP\bilibili2\bilibili2\AppPackages\bilibili2_2.7.8.0\bilibili2_2.7.8.0_x64.appxsym |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
MainPackage=F:\UWP开发\APP项目\bilibili2\bilibili2\bin\x86\Release\Upload\bilibili2_2.7.1.0_x86.appx | ||
SymbolPackage=F:\UWP开发\APP项目\bilibili2\bilibili2\AppPackages\bilibili2_2.7.1.0\bilibili2_2.7.1.0_x86.appxsym | ||
MainPackage=E:\UWP\bilibili2\bilibili2\bin\x86\Release\Upload\bilibili2_2.7.8.0_x86.appx | ||
SymbolPackage=E:\UWP\bilibili2\bilibili2\AppPackages\bilibili2_2.7.8.0\bilibili2_2.7.8.0_x86.appxsym |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
MainPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\bin\ARM\Debug\bilibili2_2.7.1.0_ARM_Debug.appx | ||
SymbolPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\AppPackages\bilibili2_2.7.1.0_Debug_Test\bilibili2_2.7.1.0_ARM_Debug.appxsym | ||
ResourcePack=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\bin\ARM\Debug\bilibili2_2.7.1.0_scale-100.appx | ||
ResourcePack=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\bin\ARM\Debug\bilibili2_2.7.1.0_scale-125.appx | ||
MainPackage=E:\UWP\bilibili2\bilibili2\bin\ARM\Release\bilibili2_2.7.8.0_ARM.appx | ||
SymbolPackage=E:\UWP\bilibili2\bilibili2\AppPackages\bilibili2_2.7.8.0_Test\bilibili2_2.7.8.0_ARM.appxsym | ||
ResourcePack=E:\UWP\bilibili2\bilibili2\bin\ARM\Release\bilibili2_2.7.8.0_scale-100.appx | ||
ResourcePack=E:\UWP\bilibili2\bilibili2\bin\ARM\Release\bilibili2_2.7.8.0_scale-125.appx | ||
ResourcePack=E:\UWP\bilibili2\bilibili2\bin\ARM\Release\bilibili2_2.7.8.0_scale-150.appx | ||
ResourcePack=E:\UWP\bilibili2\bilibili2\bin\ARM\Release\bilibili2_2.7.8.0_scale-400.appx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
MainPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\bin\x64\Debug\bilibili2_2.7.1.0_x64_Debug.appx | ||
SymbolPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\AppPackages\bilibili2_2.7.1.0_Debug_Test\bilibili2_2.7.1.0_x64_Debug.appxsym | ||
MainPackage=E:\UWP\bilibili2\bilibili2\bin\x64\Release\bilibili2_2.7.8.0_x64.appx | ||
SymbolPackage=E:\UWP\bilibili2\bilibili2\AppPackages\bilibili2_2.7.8.0_Test\bilibili2_2.7.8.0_x64.appxsym |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
MainPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\bin\x86\Debug\bilibili2_2.7.1.0_x86_Debug.appx | ||
SymbolPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\AppPackages\bilibili2_2.7.1.0_Debug_Test\bilibili2_2.7.1.0_x86_Debug.appxsym | ||
MainPackage=E:\UWP\bilibili2\bilibili2\bin\x86\Release\bilibili2_2.7.8.0_x86.appx | ||
SymbolPackage=E:\UWP\bilibili2\bilibili2\AppPackages\bilibili2_2.7.8.0_Test\bilibili2_2.7.8.0_x86.appxsym |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace bilibili2.Class | ||
{ | ||
public static class GetSetting | ||
{ | ||
static SettingHelper st; | ||
public static bool isDark() | ||
{ | ||
if (st==null) | ||
{ | ||
st = new SettingHelper(); | ||
} | ||
if (st.SettingContains("Drak")) | ||
{ | ||
return (bool)st.GetSettingValue("Drak"); | ||
} | ||
else | ||
{ | ||
return false; | ||
} | ||
} | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,36 @@ public async Task<string> GetResults(Uri url) | |
using (HttpClient hc = new HttpClient(fiter)) | ||
{ | ||
|
||
hc.DefaultRequestHeaders.Add("user-agent", "BiliBili Win10 Client/2.0 ([email protected])"); | ||
//hc.DefaultRequestHeaders.Add("user-agent", "BiliBili Win10 Client/2.0 ([email protected])"); | ||
HttpResponseMessage hr = await hc.GetAsync(url); | ||
hr.EnsureSuccessStatusCode(); | ||
string results = await hr.Content.ReadAsStringAsync(); | ||
|
||
//HttpResponseMessage hr = await hc.GetAsync(url); | ||
//hr.EnsureSuccessStatusCode(); | ||
//var encodeResults = await hr.Content.ReadAsBufferAsync(); | ||
//string results = Encoding.UTF8.GetString(encodeResults.ToArray(), 0, encodeResults.ToArray().Length); | ||
|
||
return results; | ||
} | ||
|
||
|
||
} | ||
public async Task<string> GetResults_Phone(Uri url) | ||
{ | ||
|
||
HttpBaseProtocolFilter fiter = new HttpBaseProtocolFilter(); | ||
fiter.IgnorableServerCertificateErrors.Add(Windows.Security.Cryptography.Certificates.ChainValidationResult.Expired); | ||
// fiter.IgnorableServerCertificateErrors.Add(Windows.Security.Cryptography.Certificates.ChainValidationResult.InvalidName); | ||
// fiter.IgnorableServerCertificateErrors.Add(Windows.Security.Cryptography.Certificates.ChainValidationResult.UnknownCriticalExtension); | ||
// myClientHandler.ClientCertificateOptions = System.Net.Http.ClientCertificateOption.Automatic; | ||
// myClientHandler.AllowAutoRedirect = true; | ||
//fiter.ServerCredential. | ||
using (HttpClient hc = new HttpClient(fiter)) | ||
{ | ||
|
||
hc.DefaultRequestHeaders.Add("user-agent", "Bilibili Windows.Desktop Client/1.1.8.0 ([email protected])"); | ||
hc.DefaultRequestHeaders.Add("Referer", "http://interface.bilibili.com/"); | ||
HttpResponseMessage hr = await hc.GetAsync(url); | ||
hr.EnsureSuccessStatusCode(); | ||
string results = await hr.Content.ReadAsStringAsync(); | ||
|
Oops, something went wrong.