fix: restore the page content call and stop writing the registry
- render_active_document passed the tab id as the first __setContent argument,
but the page signature starts with previewHtml, so #preview rendered the tab
id ("1", "2", "3" as tabs were opened) and the window looked blank. The call
now goes through set_content_script(), and a test pins the exact script plus
the page signature so the two cannot drift silently.
- remove register_as_default() and the winreg dependency: the app no longer
writes HKCU on launch. publish.ps1 still refreshes the .md association.
This commit is contained in:
@@ -16,9 +16,6 @@ serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
url = "2"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winreg = "0.52"
|
||||
|
||||
[target.'cfg(windows)'.build-dependencies]
|
||||
winresource = "0.1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user