10000 [feat] named resources · Issue #13639 · tauri-apps/tauri · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[feat] named resources #13639
Open
Open
@Legend-Master

Description

@Legend-Master

Describe the problem

So looking at the current implementation of the store plugin and the tray icon code, we basically manually sync a state and a resource in the app's resource table (path <-> resource_id for the store plugin, tray_id <-> resource_id for the tray icon), this is quite error prone and verbose to be honest

Describe the solution you'd like

It would be nice to have an API that manages these things together, so you can do something like let tray = app.resources_table().get_named("main")

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0