Skip to content

Commit 9e13307

Browse files
virgoparnaphoerious
authored andcommitted
Add uiAccess=true manifest to fix Auto-Type into elevated prompts (#13070)
Add uiAccess=true manifest (#13070) Fixes #12956 (KeepassXC cannot autotype into windows password prompts)
1 parent 7fc0c45 commit 9e13307

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ set_target_properties(${PROGNAME} PROPERTIES ENABLE_EXPORTS ON)
408408

409409
if(WIN32)
410410
set_target_properties(${PROGNAME} PROPERTIES WIN32_EXECUTABLE ON)
411+
set_target_properties(${PROGNAME} PROPERTIES LINK_FLAGS "/MANIFESTUAC:\"level='asInvoker' uiAccess='true'\"")
411412
include(GenerateProductVersion)
412413
generate_product_version(
413414
WIN32_ResourceFiles

0 commit comments

Comments
 (0)