mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
remove ui
This commit is contained in:
1 parent
9dd370fa72
commit
87123659aa
546 files changed
+180
-33522
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const hydro = require('../dist/loader');
|
||||
|
||||
hydro.addon('.');
|
||||
|
||||
try {
|
||||
const uiDefault = require.resolve('@hydrooj/ui-default');
|
||||
hydro.addon(uiDefault);
|
||||
} catch (e) {
|
||||
console.error('Please also install @hydrooj/ui-default');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
hydro.load().catch((e) => {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in new issue
Block a user