mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 15:33:12 +09:00
Remove unused binary option from plugin configs
Remove the unimplemented "binary" option from all plugin config files. Setting this option to something other than "nodePackage" would supposedly run a binary and feed it with the stdout of the factorio proccess, but that was never implemented.
This commit is contained in:
1 parent
5228e0a4d7
commit
2d3307c045
8 files changed
+2
-15
No files matched your search
@@ -690,7 +690,7 @@ async function instanceManagement(slaveConfig, instance, instanceconfig, server,
|
||||
if(!global.subscribedFiles) {
|
||||
global.subscribedFiles = {};
|
||||
}
|
||||
if(pluginConfig.binary == "nodePackage" && pluginConfig.enabled){
|
||||
if (pluginConfig.enabled) {
|
||||
// require plugin class and execute it
|
||||
let pluginClass = require(path.resolve(pluginConfig.pluginPath, "index"));
|
||||
plugins[i] = new pluginClass(combinedConfig, async function(data, callback){
|
||||
|
||||
Reference in new issue
Block a user