Skip to content

Commit

Permalink
1.1.1
Browse files Browse the repository at this point in the history
Revisit this as a separate option later
  • Loading branch information
felikcat committed Oct 22, 2024
1 parent e4807e4 commit 54e61fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 92 deletions.
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@ target_include_directories(W11Boost PRIVATE ${CMAKE_SOURCE_DIR})
target_link_libraries(W11Boost PRIVATE
gpedit.lib
userenv.lib
wininet.lib
shlwapi.lib
)
84 changes: 0 additions & 84 deletions src/MSStore.c

This file was deleted.

13 changes: 6 additions & 7 deletions src/W11Boost.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#define MAX_LOADSTRING 100

// Global Variables:
HINSTANCE hInst; // Current instance
wchar_t szTitle[MAX_LOADSTRING]; // The title bar text
HINSTANCE hInst; // Current instance
wchar_t szTitle[MAX_LOADSTRING]; // The title bar text
wchar_t szWindowClass[MAX_LOADSTRING]; // The main window class name

// Forward declarations of functions included in this code module:
Expand Down Expand Up @@ -239,19 +239,18 @@ LRESULT CALLBACK WndProc(HWND hWnd, unsigned int message, WPARAM wParam,
}
break;
case IDC_INSTALL_MICROSOFT_STORE:
if (MessageBoxW(hWnd,
L"Do you wish to install the Microsoft Store and .appx + "
L".appxbundle support?",
if (MessageBoxW(hWnd, L"Do you wish to install the Microsoft Store?",
L"W11Boost", MB_YESNO) == IDYES) {
int msResult = install_microsoft_store();
wchar_t cmdLine1[] = L"wsreset.exe -i";
int msResult = start_command_and_wait(cmdLine1);

if (msResult == 0) {
MessageBoxW(hWnd,
L"Completed. The Microsoft Store may take a few "
L"additional minutes to show up.",
L"W11Boost", MB_OK);
} else {
MessageBoxW(hWnd, L"The 'App Installer' failed to install!",
MessageBoxW(hWnd, L"Failed to install the Microsoft Store!",
L"W11Boost", MB_OK);
}
}
Expand Down

0 comments on commit 54e61fa

Please sign in to comment.