Skip to content

Update sophon and HYP install mechanism

GitHub Advanced Security / QDNET succeeded May 25, 2024 in 7s

68 new alerts

New alerts in code changed by this pull request

  • 68 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 65 in Hi3Helper.Sophon.Test/Program.cs

See this annotation in the file changed.

Code scanning / QDNET

Access to disposed captured variable Warning test

Captured variable is disposed in the outer scope

Check warning on line 399 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

Possible 'null' assignment to non-nullable entity Warning

Possible 'null' assignment to non-nullable entity

Check warning on line 378 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

Possible 'null' assignment to non-nullable entity Warning

Possible 'null' assignment to non-nullable entity

Check warning on line 280 in CollapseLauncher/Classes/InstallManagement/Genshin/GenshinSophonInstall.cs

See this annotation in the file changed.

Code scanning / QDNET

Async function without await expression Warning

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Check warning on line 274 in CollapseLauncher/Classes/InstallManagement/Genshin/GenshinSophonInstall.cs

See this annotation in the file changed.

Code scanning / QDNET

Async function without await expression Warning

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Check warning on line 65 in Hi3Helper.Sophon.Test/Program.cs

See this annotation in the file changed.

Code scanning / QDNET

Async method invocation without await expression Warning test

Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.

Check warning on line 375 in CollapseLauncher/Classes/Helper/LauncherApiLoader/HoYoPlay/HoYoPlayLauncherApiLoader.cs

See this annotation in the file changed.

Code scanning / QDNET

Conditional access qualifier expression is not null according to nullable reference types' annotations Warning

Conditional access qualifier expression is never null according to nullable reference types' annotations

Check warning on line 373 in CollapseLauncher/Classes/Helper/LauncherApiLoader/HoYoPlay/HoYoPlayLauncherApiLoader.cs

See this annotation in the file changed.

Code scanning / QDNET

Conditional access qualifier expression is not null according to nullable reference types' annotations Warning

Conditional access qualifier expression is never null according to nullable reference types' annotations

Check warning on line 2425 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

Conditional access qualifier expression is known to be null or not null Warning

Conditional access qualifier expression is known to be not null

Check warning on line 2407 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

Conditional access qualifier expression is known to be null or not null Warning

Conditional access qualifier expression is known to be not null

Check warning on line 2425 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

Conditional access qualifier expression is known to be null or not null Warning

Conditional access qualifier expression is known to be not null

Check warning on line 282 in CollapseLauncher/Classes/Helper/LauncherApiLoader/HoYoPlay/HoYoPlayLauncherApiLoader.cs

See this annotation in the file changed.

Code scanning / QDNET

Conditional access qualifier expression is known to be null or not null Warning

Conditional access qualifier expression is known to be not null

Check warning on line 2361 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

Conditional access qualifier expression is known to be null or not null Warning

Conditional access qualifier expression is known to be not null

Check warning on line 2385 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

Conditional access qualifier expression is known to be null or not null Warning

Conditional access qualifier expression is known to be not null

Check warning on line 2407 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

Conditional access qualifier expression is known to be null or not null Warning

Conditional access qualifier expression is known to be not null

Check warning on line 2425 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

'??' condition is known to be null or not null Warning

'??' left operand is never null

Check warning on line 2407 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

'??' condition is known to be null or not null Warning

'??' left operand is never null

Check warning on line 2385 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

'??' condition is known to be null or not null Warning

'??' left operand is never null

Check warning on line 48 in CollapseLauncher/Classes/Extension/TaskExtensions.cs

See this annotation in the file changed.

Code scanning / QDNET

'??' condition is known to be null or not null Warning

'??' left operand is never null

Check warning on line 2407 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

'??' condition is known to be null or not null Warning

'??' left operand is never null

Check warning on line 2361 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

'??' condition is known to be null or not null Warning

'??' left operand is never null

Check warning on line 2425 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

'??' condition is known to be null or not null Warning

'??' left operand is never null

Check warning on line 652 in CollapseLauncher/Classes/Extension/UIElementExtensions.cs

See this annotation in the file changed.

Code scanning / QDNET

Possible 'System.NullReferenceException' Warning

Possible 'System.NullReferenceException'

Check warning on line 107 in CollapseLauncher/Classes/InstallManagement/Genshin/GenshinSophonInstall.cs

See this annotation in the file changed.

Code scanning / QDNET

Possible 'System.NullReferenceException' Warning

Possible 'System.NullReferenceException'

Check warning on line 857 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

See this annotation in the file changed.

Code scanning / QDNET

Possible 'System.NullReferenceException' Warning

Possible 'System.NullReferenceException'