update packaging

This commit is contained in:
Luke Pulverenti 2016-03-10 23:25:56 -05:00
parent 5ed013855f
commit e0636b4925
2 changed files with 4 additions and 8 deletions

View File

@ -354,6 +354,9 @@ namespace MediaBrowser.WebDashboard.Api
DeleteFoldersByName(Path.Combine(bowerPath, "Sortable"), "meteor");
DeleteFoldersByName(Path.Combine(bowerPath, "Sortable"), "st");
DeleteFoldersByName(Path.Combine(bowerPath, "Swiper"), "src");
DeleteFoldersByName(Path.Combine(bowerPath, "material-design-lite"), "src");
DeleteFoldersByName(Path.Combine(bowerPath, "material-design-lite"), "utils");
_fileSystem.DeleteFile(Path.Combine(bowerPath, "material-design-lite", "gulpfile.babel.js"));
_fileSystem.DeleteDirectory(Path.Combine(bowerPath, "marked"), true);
_fileSystem.DeleteDirectory(Path.Combine(bowerPath, "marked-element"), true);

View File

@ -436,14 +436,7 @@ namespace MediaBrowser.WebDashboard.Api
var files = new List<string>();
if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase))
{
files.Add("bower_components/requirejs/require.js");
}
else
{
files.Add("bower_components" + version + "/requirejs/require.js");
}
files.Add("bower_components/requirejs/require.js");
files.Add("scripts/site.js" + versionString);