Skip to content

Commit

Permalink
juicity: fix group enabled selector error
Browse files Browse the repository at this point in the history
  • Loading branch information
shenghuang147 committed May 10, 2024
1 parent fde7c0b commit 86e7702
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/plugin_juicity/juicity.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,13 @@ class juicityClass {
"protect_path": "protect_path"
};

let uniqueConfigName = 'config-' + Math.random().toString(36).slice(2) + Date.now() + '.json';

let v = {};
v.nekoCommands = ["%exe%", "run", "-c", "config.json"];
v.nekoCommands = ["%exe%", "run", "-c", uniqueConfigName];
v.nekoRunConfigs = [
{
name: "config.json",
name: uniqueConfigName,
content: JSON.stringify(configObject),
},
];
Expand Down

0 comments on commit 86e7702

Please sign in to comment.