mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 02:34:19 -04:00
beta fixes
This commit is contained in:
parent
5492e34c6d
commit
a9fe4084ea
@ -313,7 +313,7 @@ namespace MediaBrowser.WebDashboard.Api
|
||||
|
||||
if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
apiClientFiles.Add("thirdparty/apiclient/cordova/serverdiscovery.js");
|
||||
apiClientFiles.Add("thirdparty/cordova/serverdiscovery.js");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -321,6 +321,11 @@ namespace MediaBrowser.WebDashboard.Api
|
||||
}
|
||||
apiClientFiles.Add("thirdparty/apiclient/connectionmanager.js");
|
||||
|
||||
if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
apiClientFiles.Add("thirdparty/cordova/remotecontrols.js");
|
||||
}
|
||||
|
||||
foreach (var file in apiClientFiles)
|
||||
{
|
||||
using (var fs = _fileSystem.GetFileStream(GetDashboardResourcePath(file), FileMode.Open, FileAccess.Read, FileShare.ReadWrite, true))
|
||||
|
@ -213,7 +213,10 @@
|
||||
<Content Include="dashboard-ui\thirdparty\apiclient\connectservice.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\apiclient\cordova\serverdiscovery.js">
|
||||
<Content Include="dashboard-ui\thirdparty\cordova\remotecontrols.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\cordova\serverdiscovery.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\apiclient\deferred.js">
|
||||
|
Loading…
x
Reference in New Issue
Block a user