@@ -226,7 +226,7 @@ public static Visibility IsAmdGpuVisible {
226226 if ( WpfUtil . IsInDesignMode ) {
227227 return Visibility . Visible ;
228228 }
229- if ( NTMinerContext . Instance . GpuSet . GpuType == GpuType . AMD ) {
229+ if ( NTMinerContext . Instance . GpuSet . GpuType . IsAmd ( ) ) {
230230 return Visibility . Visible ;
231231 }
232232 return Visibility . Collapsed ;
@@ -248,7 +248,7 @@ public static Visibility IsMixedGpuVisible {
248248 if ( WpfUtil . IsInDesignMode ) {
249249 return Visibility . Visible ;
250250 }
251- return NTMinerContext . Instance . GpuSet . GpuType == GpuType . NVIDIA && AdlHelper . IsHasATIGpu ? Visibility . Visible : Visibility . Collapsed ;
251+ return NTMinerContext . Instance . GpuSet . GpuType . IsNvidia ( ) && AdlHelper . IsHasATIGpu ? Visibility . Visible : Visibility . Collapsed ;
252252 }
253253 }
254254
@@ -701,7 +701,7 @@ public static string ExportServerJsonFileName {
701701 VirtualRoot . Execute ( new UpgradeCommand ( string . Empty , null ) ) ;
702702 } ) ;
703703 public static ICommand ShowHelp { get ; private set ; } = new DelegateCommand ( ( ) => {
704- string url = "http://ntminer.com /" ;
704+ string url = "http://dl. ntminer.top /" ;
705705 url = NTMinerContext . Instance . ServerContext . SysDicItemSet . TryGetDicItemValue ( NTKeyword . ThisSystemSysDicCode , "HelpUrl" , defaultValue : url ) ;
706706 VirtualRoot . Execute ( new UnTopmostCommand ( ) ) ;
707707 Process . Start ( url ) ;
@@ -751,7 +751,7 @@ public static string QQGroup {
751751
752752 public static string HomePageUrl {
753753 get {
754- string url = "https ://ntminer.com " ;
754+ string url = "http ://dl. ntminer.top " ;
755755 if ( WpfUtil . IsInDesignMode ) {
756756 return url ;
757757 }
0 commit comments