mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Modified About dialog
This commit is contained in:
@@ -7,7 +7,13 @@ using System.Security.Permissions;
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: AssemblyProduct("Microsoft (R) Windows (R) Operating System")]
|
||||
[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation. All rights reserved.")]
|
||||
[assembly: AssemblyFileVersion("4.8.2345.0")]
|
||||
//[assembly: AssemblyDelaySign(true)]
|
||||
[assembly: AssemblyVersion("4.7.0.0")]
|
||||
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
|
||||
|
||||
#if OPENZUNE
|
||||
[assembly: AssemblyFileVersion("5.0.0.0")]
|
||||
[assembly: AssemblyVersion("5.0.0.0")]
|
||||
#else
|
||||
[assembly: AssemblyFileVersion("4.8.2345.0")]
|
||||
[assembly: AssemblyVersion("4.7.0.0")]
|
||||
#endif
|
||||
@@ -64,11 +64,32 @@ namespace Microsoft.Zune.Shell
|
||||
|
||||
public static string DefaultCommandLineParameterSwitch => "PlayMedia";
|
||||
|
||||
public static Version Version => typeof(ZuneApplication).Assembly.GetName().Version;
|
||||
|
||||
public static ZuneLibrary ZuneLibrary => _zuneLibrary;
|
||||
|
||||
public static Service.Service Service => Zune.Service.Service.Instance;
|
||||
public static IService Service2 => Zune.Service.Service2.Instance;
|
||||
|
||||
public static bool IsStrixCompatible
|
||||
{
|
||||
get
|
||||
{
|
||||
#if OPENZUNE
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
public static Version StrixSdkVersion =>
|
||||
#if OPENZUNE
|
||||
typeof(ICore).Assembly.GetName().Version;
|
||||
#else
|
||||
null;
|
||||
#endif
|
||||
|
||||
#if OPENZUNE
|
||||
public static IStrixDataRoot DataRoot { get; private set; }
|
||||
public static IPlaybackHandlerService PlaybackHandler { get; private set; }
|
||||
@@ -184,7 +205,7 @@ namespace Microsoft.Zune.Shell
|
||||
|
||||
DataRoot.Library.TracksChanged += LibraryTracksChanged;
|
||||
|
||||
await DataRoot.Library.PlayTrackCollectionAsync();
|
||||
//await DataRoot.Library.PlayTrackCollectionAsync();
|
||||
});
|
||||
#endif
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -8,6 +8,8 @@
|
||||
<OutputType>Library</OutputType>
|
||||
<AssemblyName>ZuneShell</AssemblyName>
|
||||
<ApplicationVersion>4.7.0.0</ApplicationVersion>
|
||||
<AssemblyVersion>$(ApplicationVersion)</AssemblyVersion>
|
||||
<FileVersion>$(ApplicationVersion)</FileVersion>
|
||||
|
||||
<TargetFrameworks>net35;net40;net6.0</TargetFrameworks>
|
||||
<Platforms>x64;x86</Platforms>
|
||||
|
||||
Reference in New Issue
Block a user