mirror of
https://github.com/lights0123/n-link.git
synced 2026-08-08 02:33:28 +00:00
Splits the former 478-line main.rs into focused modules. Drops hashbrown in favour of std HashMap (the drain_filter API it was used for was renamed with changed semantics) and drops vendored libusb1-sys in favour of the system library, matching nlink-cli. Also removes the Task 2 scaffold's lib.rs/tauri-plugin-opener indirection (the brief's module layout is a plain binary with no lib target) and drops the now-dangling "opener:default" permission from capabilities/default.json, which otherwise fails the Tauri build script with an unresolved permission error.
10 lines
198 B
JSON
10 lines
198 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default"
|
|
]
|
|
}
|