fix: first get image rkey

This commit is contained in:
linyuchen 2024-04-27 21:06:58 +08:00
parent 62346d7d9d
commit a8bce36f3b
6 changed files with 5 additions and 3 deletions

View File

@ -2,8 +2,9 @@ import os from 'node:os';
import path from 'node:path';
export const systemPlatform = os.platform();
export const cpuArch = os.arch();
export const systemVersion = os.release();
export const hostname = os.hostname();
const homeDir = os.homedir();
export const downloadsPath = path.join(homeDir, 'Downloads');
export const systemName = os.type();
export const systemName = os.type();

@ -1 +1 @@
Subproject commit 142df7622b7e8805ca666d3180b4c57844f2ea1e
Subproject commit 655719445bc6012f4ce687671625d52cfadd6406

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -38,7 +38,8 @@ const baseConfigPlugin: PluginOption[] = [
{ src: './src/onebot11/onebot11.json', dest: 'dist/config/' },
{ src: './package.json', dest: 'dist' },
{ src: './README.md', dest: 'dist' },
{ src: './src/core.lib/MoeHoo.node', dest: 'dist' },
{ src: './src/core.lib/MoeHoo-win32-x64.node', dest: 'dist' },
{ src: './src/core.lib/MoeHoo-linux-x64.node', dest: 'dist' },
...(startScripts.map((startScript) => {
return { src: startScript, dest: 'dist' };
})),