diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-11 15:59:59 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-11 15:59:59 -0400 |
| commit | a9fe4084eacad2389914afb18672dc75f86596e0 (patch) | |
| tree | 95baa4bc93e44122a5a08063ff5a37baad65635d | |
| parent | 5492e34c6d1db3c083dacef546da4a3895186ac2 (diff) | |
beta fixes
| -rw-r--r-- | MediaBrowser.WebDashboard/Api/PackageCreator.cs | 7 | ||||
| -rw-r--r-- | MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/MediaBrowser.WebDashboard/Api/PackageCreator.cs b/MediaBrowser.WebDashboard/Api/PackageCreator.cs index 5c6228193..091d10710 100644 --- a/MediaBrowser.WebDashboard/Api/PackageCreator.cs +++ b/MediaBrowser.WebDashboard/Api/PackageCreator.cs @@ -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)) diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj index 114ec4e17..790beba69 100644 --- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj +++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj @@ -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">
|
