File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " tauri-build " : patch
3+ ---
4+
5+ Enhance the dialog style on Windows via the manifest dependency ` Microsoft.Windows.Common-Controls v6.0.0.0 ` .
Original file line number Diff line number Diff line change @@ -334,6 +334,26 @@ pub fn try_build(attributes: Attributes) -> Result<()> {
334334
335335 if window_icon_path. exists ( ) {
336336 let mut res = WindowsResource :: new ( ) ;
337+
338+ res. set_manifest (
339+ r#"
340+ <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
341+ <dependency>
342+ <dependentAssembly>
343+ <assemblyIdentity
344+ type="win32"
345+ name="Microsoft.Windows.Common-Controls"
346+ version="6.0.0.0"
347+ processorArchitecture="*"
348+ publicKeyToken="6595b64144ccf1df"
349+ language="*"
350+ />
351+ </dependentAssembly>
352+ </dependency>
353+ </assembly>
354+ "# ,
355+ ) ;
356+
337357 if let Some ( sdk_dir) = & attributes. windows_attributes . sdk_dir {
338358 if let Some ( sdk_dir_str) = sdk_dir. to_str ( ) {
339359 res. set_toolkit_path ( sdk_dir_str) ;
You can’t perform that action at this time.
0 commit comments