mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-09 13:07:41 +00:00
Merge fix/plugin-grant-module-hash into fix/plugin-stale-grant
This commit is contained in:
@@ -262,8 +262,8 @@ impl Session {
|
||||
/// Install the plug-ins kept in the plug-in folder: none in Safe Mode, and none the user
|
||||
/// disabled (matched by file name, which is made from the id). The launch marker names each
|
||||
/// file while it loads. A module that doesn't load, and one that lists permissions the grants
|
||||
/// there don't grant it, is skipped with a log record, and stays there with its grant. A grant
|
||||
/// for an id whose stored module lists no permissions is forgotten.
|
||||
/// there don't grant that very module, is skipped with a log record, and stays in the folder
|
||||
/// with its grant. A grant for an id whose stored module lists no permissions is forgotten.
|
||||
pub fn load_stored_plugins(&mut self) {
|
||||
let Some(dir) = self.plugin_dir.clone() else { return };
|
||||
if safe_mode::active() {
|
||||
|
||||
Reference in New Issue
Block a user