-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview 1.82.5 Release #618
Conversation
Also disable Reflection completely
third time the charm (?)
its meant to fail
To prevent need to re pin all shortcuts
…exist was specified
Splitting some codes into several methods: - CreateShortcut() - Create shortcuts from desired path - GetIconLocationPaths() - Get Icon Location Paths and some attributes like appProductName to be used as AUMID for Toast Notification feature
Due to unified Game Repair and Cache Update into a single base class, this causes the message from Game Repair to appear instead Cache Update ones
100% reviewed source file: 'en_US.json' on 'es_419'.
100% reviewed source file: 'en_US.json' on 'zh_CN'.
@@ -1140,7 +1140,21 @@ | |||
return false; | |||
} | |||
|
|||
private bool IsDiskPartitionExist(string path) => !string.IsNullOrEmpty(path) && !string.IsNullOrEmpty(Path.GetPathRoot(path)) && new DriveInfo(Path.GetPathRoot(path) ?? string.Empty).IsReady; | |||
private bool IsDiskPartitionExist(string path) |
Check notice
Code scanning / QDNET
RoslynAnalyzers Mark members as static Note
@@ -1140,7 +1140,21 @@ | |||
return false; | |||
} | |||
|
|||
private bool IsDiskPartitionExist(string path) => !string.IsNullOrEmpty(path) && !string.IsNullOrEmpty(Path.GetPathRoot(path)) && new DriveInfo(Path.GetPathRoot(path) ?? string.Empty).IsReady; | |||
private bool IsDiskPartitionExist(string path) |
Check notice
Code scanning / QDNET
Member can be made static (shared) (private accessibility) Note
@@ -283,6 +285,45 @@ | |||
} | |||
} | |||
|
|||
private static NotificationService? _currentToastNotificationService; | |||
internal static NotificationService? CurrentToastNotificationService |
Check warning
Code scanning / QDNET
Return type of a function can be made non-nullable Warning
get | ||
{ | ||
// If toast notification service field is null, then initialize | ||
if (_currentToastNotificationService == null) |
Check notice
Code scanning / QDNET
Invert 'if' statement to reduce nesting Note
_currentToastNotificationService = new NotificationService(ILoggerHelper.GetILogger("ToastCOM")); | ||
|
||
// Get string for AumId registration | ||
if (!string.IsNullOrEmpty(appAumIdName)) |
Check notice
Code scanning / QDNET
Invert 'if' statement to reduce nesting Note
WindowUtility.CurrentToastNotificationService?.CreateToastNotifier(); | ||
notifier.Show(notificationService); | ||
} | ||
catch { } |
Check warning
Code scanning / QDNET
Empty general catch clause Warning
@@ -1,13 +1,17 @@ | |||
using CollapseLauncher.Helper; | |||
using CollapseLauncher.Helper.Background; | |||
using CollapseLauncher.Helper.Database; |
Check warning
Code scanning / QDNET
Redundant using directive Warning
SpawnGreetingsToastNotification(categorySelected, regionSelected); | ||
} | ||
|
||
private void SpawnGreetingsToastNotification(string? gameName, string? regionName) |
Check notice
Code scanning / QDNET
RoslynAnalyzers Mark members as static Note
SpawnGreetingsToastNotification(categorySelected, regionSelected); | ||
} | ||
|
||
private void SpawnGreetingsToastNotification(string? gameName, string? regionName) |
Check notice
Code scanning / QDNET
Member can be made static (shared) (private accessibility) Note
|
||
private void SpawnGreetingsToastNotification(string? gameName, string? regionName) | ||
{ | ||
if (!string.IsNullOrEmpty(gameName) |
Check notice
Code scanning / QDNET
Invert 'if' statement to reduce nesting Note
100% reviewed source file: 'en_US.json' on 'ja_JP'.
Inconsistent enable state?
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
What's new? - 1.82.5
Speed
may cause compiler over optimization in certain areas.Size
instead (which is the default .NET behaviour).Templates
Changelog Prefixes