fix:image path

This commit is contained in:
bietiaop 2024-07-09 10:33:22 +08:00
parent b53e224207
commit e28fbd8472
2 changed files with 6 additions and 4 deletions

View file

@ -1,14 +1,14 @@
import path from 'path';
import fs from 'fs';
import { ZZZ_SQUARE_AVATAR, ZZZ_SQUARE_BANGBOO } from './mysapi/api.js';
import { resourcesPath } from './path.js';
import { imageResourcesPath } from './path.js';
const ZZZ_SQUARE_AVATAR_PATH = path.join(resourcesPath, 'square_avatar');
const ZZZ_SQUARE_AVATAR_PATH = path.join(imageResourcesPath, 'square_avatar');
const ZZZ_SQUARE_BANGBOO_PATH = path.join(
resourcesPath,
imageResourcesPath,
'bangboo_square_avatar'
);
const ZZZ_GUIDES_PATH = path.join(resourcesPath, 'guides');
const ZZZ_GUIDES_PATH = path.join(imageResourcesPath, 'guides');
/**
*