mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 16:59:15 +02:00
hotfix for windows plugin load
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ function createLinks() {
|
|||||||
}
|
}
|
||||||
fs.symlinkSync(pluginsDir, destinationPluginsDir, 'junction');
|
fs.symlinkSync(pluginsDir, destinationPluginsDir, 'junction');
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
consoleCmd.logInfo(`Plugin ${pluginConfig.name} ${pluginConfig.version} initialized successfully.`);
|
//consoleCmd.logInfo(`Plugin ${pluginConfig.name} ${pluginConfig.version} initialized successfully.`);
|
||||||
}, 500)
|
}, 500)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(`Error creating junction at ${destinationPluginsDir}: ${err.message}`);
|
console.error(`Error creating junction at ${destinationPluginsDir}: ${err.message}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user