fix: garantir dependência do common controls
This commit is contained in:
parent
a49e36c25e
commit
645829950c
1 changed files with 12 additions and 0 deletions
|
|
@ -1,7 +1,19 @@
|
||||||
fn main() {
|
fn main() {
|
||||||
|
// Custom manifest keeps Common-Controls v6 dependency to avoid TaskDialogIndirect errors.
|
||||||
let windows = tauri_build::WindowsAttributes::new().app_manifest(
|
let windows = tauri_build::WindowsAttributes::new().app_manifest(
|
||||||
r#"
|
r#"
|
||||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||||
|
<dependency>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity
|
||||||
|
type="win32"
|
||||||
|
name="Microsoft.Windows.Common-Controls"
|
||||||
|
version="6.0.0.0"
|
||||||
|
processorArchitecture="*"
|
||||||
|
publicKeyToken="6595b64144ccf1df"
|
||||||
|
language="*" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</dependency>
|
||||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
<security>
|
<security>
|
||||||
<requestedPrivileges>
|
<requestedPrivileges>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue