Skip to content

Commit

Permalink
The MS Store fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed May 11, 2022
1 parent 7495b34 commit ca12a3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion SophiApp/SophiApp/Customisations/CustomisationConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ internal static class CustomisationConstants
internal const byte _502_TEAMS_ENABLED_VALUE = 2;
internal const string _502_TEAMS_STARTUP_PATH = @"Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\MicrosoftTeams_8wekyb3d8bbwe\TeamsStartupTask";
internal const string _502_UWP_MICROSOFT_TEAMS = "MicrosoftTeams";
internal const string _504_MICROSOFT_STORE_RESET = "wsreset -i";
internal const string _504_MICROSOFT_STORE_RESET = "-i";
internal const string _600_APP_CAPTURE = "AppCaptureEnabled";
internal const string _600_GAME_CONFIG_PATH = @"System\GameConfigStore";
internal const string _600_GAME_DVR = "GameDVR_Enabled";
Expand Down Expand Up @@ -688,6 +688,7 @@ function MinimizeWindow
internal const string WIN_VER_PRO = "Professional";
internal const string WINDOWS_MITIGATION_PATH = @"SOFTWARE\Microsoft\WindowsMitigation";
internal const string WINLOGON_PATH = @"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon";
internal const string WSRESET_EXE = "WSreset.exe";
internal const string WUSA_EXE = "wusa.exe";
internal const string X64 = "x64";
internal static readonly string _203_WIN10_EXPLORER_INPROC_PATH = $@"{_203_WIN10_EXPLORER_PATH}\InprocServer32";
Expand Down
2 changes: 1 addition & 1 deletion SophiApp/SophiApp/Customisations/CustomisationOs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ public static void _500(bool IsChecked)
: _502_TEAMS_DISABLED_VALUE,
RegistryValueKind.DWord);

public static void _504(bool _) => ProcessHelper.Start(processName: POWERSHELL_EXE, args: _504_MICROSOFT_STORE_RESET);
public static void _504(bool _) => ProcessHelper.Start(processName: WSRESET_EXE, args: _504_MICROSOFT_STORE_RESET);

public static void _600(bool IsChecked)
{
Expand Down

0 comments on commit ca12a3e

Please sign in to comment.