fix
This commit is contained in:
@@ -4,6 +4,10 @@ MoonWell Launcher is the desktop launcher for MoonWell, a private World of
|
||||
Warcraft: Wrath of the Lich King server focused on a player-friendly experience
|
||||
without excessive grind and with stronger social play.
|
||||
|
||||
The Windows executable requests administrator privileges on startup so it can
|
||||
synchronize game clients installed under protected directories such as
|
||||
`Program Files`.
|
||||
|
||||
The launcher is responsible for:
|
||||
|
||||
- logging in to a player's MoonWell account
|
||||
|
||||
@@ -9,6 +9,11 @@ WinSparkle shows its native prompt only when a newer version is available.
|
||||
Missing configuration, network failures, and malformed feeds do not block the
|
||||
launcher. Periodic WinSparkle checks are disabled.
|
||||
|
||||
`MoonWell.exe` uses the Windows `requireAdministrator` execution level. Users
|
||||
therefore receive a UAC prompt whenever the launcher starts. This is required
|
||||
to synchronize game files installed in protected directories. The per-user
|
||||
Inno Setup installer remains configured with `PrivilegesRequired=lowest`.
|
||||
|
||||
## Build Configuration
|
||||
|
||||
Pass the public feed URL at build time:
|
||||
|
||||
@@ -35,6 +35,11 @@ target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")
|
||||
target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
|
||||
target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib")
|
||||
target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
|
||||
target_link_options(
|
||||
${BINARY_NAME}
|
||||
PRIVATE
|
||||
"/MANIFESTUAC:level='requireAdministrator' uiAccess='false'"
|
||||
)
|
||||
|
||||
# Run the Flutter tool portions of the build. This must not be removed.
|
||||
add_dependencies(${BINARY_NAME} flutter_assemble)
|
||||
|
||||
Reference in New Issue
Block a user