mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-07 08:44:31 -05:00
use arg dir
This commit is contained in:
parent
a8e4d68705
commit
839af9d486
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ function isPluginFile({ name }: { name: string; }) {
|
||||||
const data = JSON.stringify(plugins);
|
const data = JSON.stringify(plugins);
|
||||||
|
|
||||||
if (process.argv.length > 2) {
|
if (process.argv.length > 2) {
|
||||||
writeFileSync("dist/equicordplugins.json", data);
|
writeFileSync(process.argv[2], data);
|
||||||
} else {
|
} else {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue