Update dependencies and improve build script

- Updated `embed-resource` version in `Cargo.toml` and `Cargo.lock` to 3.0.6 for enhanced functionality.
- Upgraded several dependencies including `dirs`, `dirs-sys`, `float-cmp`, and `hashbrown` to their latest versions for better performance and security.
- Modified the build script to handle resource compilation more gracefully by using `embed_resource::NONE`.
This commit is contained in:
Joe 2026-02-01 10:24:47 -06:00
parent e342f00306
commit b2ce199a37
8 changed files with 149 additions and 122 deletions

View file

@ -1476,6 +1476,16 @@ impl ApiService {
StatusCode::INTERNAL_SERVER_ERROR,
)
}
_ => {
return msgpack(
ErrorResponse::internal_error(format!(
"Failed to open {}: {}",
script_path.display(),
error
)),
StatusCode::INTERNAL_SERVER_ERROR,
)
}
},
};