mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-07-20 09:17:14 +00:00
the previous patch disabled write_binary_file / read_binary_file / list_directory outright, but the frontend actively calls them for plugin loading (PluginManager.ts reads plugin manifests and code from the plugins dir, TauriService.ts wraps them for general use). disabling broke plugin loading. proper fix: scope all three commands to the launcher's app data dir via canonicalize + starts_with check. legitimate callers operate inside this dir anyway (plugin discovery, plugin code loading). the write+launch primitive is closed because the app data dir doesn't contain startup folders, autostart locations, or other sensitive targets. |
||
|---|---|---|
| .. | ||
| capabilities | ||
| gen/schemas | ||
| icons | ||
| resources/DLC/Emerald Skin Pack | ||
| scripts | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||
| tauri.nightly.conf.json | ||