Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
mastersign committed Mar 29, 2019
2 parents 9eb4daa + ae76072 commit f408736
Show file tree
Hide file tree
Showing 24 changed files with 614 additions and 294 deletions.
2 changes: 2 additions & 0 deletions BenchManager/BenchCLI/Commands/ListAppsCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public enum AppSet
Groups,
MetaApps,
ManagedPackages,
ManagedPackagesFromRemote,
}

private const string OPTION_SET = "set";
Expand Down Expand Up @@ -200,6 +201,7 @@ private bool IsIncludedInSet(AppFacade app, AppSet set)
case AppSet.Groups: return app.Typ == AppTyps.Group;
case AppSet.MetaApps: return app.Typ == AppTyps.Meta;
case AppSet.ManagedPackages: return app.IsManagedPackage;
case AppSet.ManagedPackagesFromRemote: return app.IsManagedPackageFromRemoteRepo;
default: throw new NotSupportedException();
}
}
Expand Down
4 changes: 2 additions & 2 deletions BenchManager/BenchCLI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.21.1.0")]
[assembly: AssemblyFileVersion("0.21.1.0")]
[assembly: AssemblyVersion("0.22.0.0")]
[assembly: AssemblyFileVersion("0.22.0.0")]
4 changes: 2 additions & 2 deletions BenchManager/BenchDashboard/AppList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ private void gridApps_RowContextMenuStripNeeded(object sender, DataGridViewRowCo
miInstall.Visible = contextApp.CanInstall;
miReinstall.Visible = contextApp.CanReinstall;
miUpgrade.Visible = contextApp.CanUpgrade;
miPackageUpgrade.Visible = contextApp.IsInstalled && contextApp.IsManagedPackage;
miPackageUpgrade.Visible = contextApp.IsInstalled && contextApp.IsManagedPackageFromRemoteRepo;
miUninstall.Visible = contextApp.CanUninstall;

miDownloadResource.Visible = contextApp.CanDownloadResource;
Expand All @@ -327,7 +327,7 @@ private void gridApps_RowContextMenuStripNeeded(object sender, DataGridViewRowCo
var g1 = contextApp.CanInstall
|| contextApp.CanReinstall
|| contextApp.CanUpgrade
|| contextApp.IsInstalled && contextApp.IsManagedPackage
|| contextApp.IsInstalled && contextApp.IsManagedPackageFromRemoteRepo
|| contextApp.CanUninstall;
var g2 = contextApp.CanDownloadResource
|| contextApp.CanDeleteResource;
Expand Down
6 changes: 6 additions & 0 deletions BenchManager/BenchDashboard/AppWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ public string Typ
return "Python 2";
case AppTyps.Python3Package:
return "Python 3";
case AppTyps.PythonWheel:
return "Python Wheel";
case AppTyps.Python2Wheel:
return "Python 2 Wheel";
case AppTyps.Python3Wheel:
return "Python 3 Wheel";
case AppTyps.NuGetPackage:
return "NuGet";
default:
Expand Down
8 changes: 8 additions & 0 deletions BenchManager/BenchDashboard/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,14 @@ public Process LaunchApp(string id, params string[] args)
+ e.FileName);
return null;
}
catch (System.ComponentModel.Win32Exception e)
{
UI.ShowWarning("Launching App",
"Failed to execute the apps main executable."
+ Environment.NewLine + Environment.NewLine
+ e.Message);
return null;
}
}

public void ShowAppInfo(string id)
Expand Down
4 changes: 2 additions & 2 deletions BenchManager/BenchDashboard/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.21.1.0")]
[assembly: AssemblyFileVersion("0.21.1.0")]
[assembly: AssemblyVersion("0.22.0.0")]
[assembly: AssemblyFileVersion("0.22.0.0")]
Loading

0 comments on commit f408736

Please sign in to comment.