- 🤣 Full-stack system to web
- 🥳 Reverse engineering
- 🐟 Fishing
nomi-san / balance-buff-viewer Goto Github PK
View Code? Open in Web Editor NEWARAM/URF balance buff viewer plugin for Pengu Loader
License: MIT License
ARAM/URF balance buff viewer plugin for Pengu Loader
License: MIT License
是否可以展示 在竞技场模式下 英雄的buff 呢
Is it possible to display the hero’s buff in Arena mode?
PS E:\Repos\balance-buff-viewer> pnpm crawl
> balance-buff-viewer-plugin@13.13.2 crawl E:\Repos\balance-buff-viewer
> sucrase-node src/crawl.ts
Failed to parse fandom data. [Error: ENOENT: no such file or directory, open 'E:\Repos\balance-buff-viewer\dist\balance.json'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'E:\\Repos\\balance-buff-viewer\\dist\\balance.json'
}
ELIFECYCLE Command failed with exit code 1.
🤔Of course there is no dist
folder before build
simple orkaround, :
diff --git a/src/crawl.ts b/src/crawl.ts
index 33ba535..0da0aef 100644
--- a/src/crawl.ts
+++ b/src/crawl.ts
@@ -107,7 +107,18 @@ async function main() {
const data = buildBalanceBuffData(script);
const json = JSON.stringify(data);
- const outpath = path.join(process.cwd(), 'dist/balance.json');
+ const outdir = path.join(process.cwd(), 'dist');
+ const outpath = path.join(outdir, 'balance.json');
+
+ try {
+ await fs.mkdir(outdir);
+ } catch (err: any) {
+ if (err instanceof NodeJS.ErrnoException){
+ if (err.code !== 'EEXIST') {
+ throw err;
+ }
+ }
+ }
await fs.writeFile(outpath, json);
}
The 2024 URF game mode is not detected correctly due to its data map is a normal 5v5 SR.
i need Latest version,If you don't have time to update, please tell me how to update the version data and change the regional language. Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.