We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6326d7e commit bdaca78Copy full SHA for bdaca78
1 file changed
desktop/scripts/build-backend.mjs
@@ -16,6 +16,8 @@ const kbStopwordsSrc = path.join(
16
'hit_stopwords.txt',
17
);
18
const kbStopwordsDest = 'astrbot/core/knowledge_base/retrieval';
19
+const builtinStarsSrc = path.join(rootDir, 'astrbot', 'builtin_stars');
20
+const builtinStarsDest = 'astrbot/builtin_stars';
21
22
const args = [
23
'run',
@@ -35,9 +37,13 @@ const args = [
35
37
'pip',
36
38
'--collect-submodules',
39
'astrbot.api',
40
+ '--collect-submodules',
41
+ 'astrbot.builtin_stars',
42
'--collect-data',
43
'certifi',
44
'--add-data',
45
+ `${builtinStarsSrc}${dataSeparator}${builtinStarsDest}`,
46
+ '--add-data',
47
`${kbStopwordsSrc}${dataSeparator}${kbStopwordsDest}`,
48
'--distpath',
49
outputDir,
0 commit comments