mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-31 12:25:31 +02:00
chore: update main.js to allow profile paths
This commit is contained in:
parent
ee86d4811b
commit
85a40d2c93
1 changed files with 2 additions and 1 deletions
3
main.js
3
main.js
|
@ -15,12 +15,13 @@ function parseArguments() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getProfiles(args) {
|
function getProfiles(args) {
|
||||||
return args.agents || settings.profiles;
|
return args.profiles || settings.profiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
const args = parseArguments();
|
const args = parseArguments();
|
||||||
const profiles = getProfiles(args);
|
const profiles = getProfiles(args);
|
||||||
|
console.log(profiles);
|
||||||
const { load_memory, init_message } = settings;
|
const { load_memory, init_message } = settings;
|
||||||
|
|
||||||
for (const profile of profiles) {
|
for (const profile of profiles) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue