🐛 移动dll以解决路径问题

#206
This commit is contained in:
BTMuli
2026-01-17 17:05:23 +08:00
parent 3a08234a78
commit eaa61e665a
3 changed files with 10 additions and 9 deletions

View File

@@ -25,12 +25,7 @@ fn main() {
},
));
#[cfg(target_os = "windows")]
{
enable_dpi_v2();
unsafe {
std::env::set_var("RUST_BACKTRACE", "1");
}
}
enable_dpi_v2();
#[cfg(target_os = "linux")]
unsafe {
// Not unsafe if you don't use edition 2024