mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-16 04:29:32 +02:00
fix: create-tool.mjs
This commit is contained in:
@@ -71,7 +71,6 @@ export default function ${capitalizeFirstLetter(toolNameCamelCase)}() {
|
||||
}
|
||||
`
|
||||
)
|
||||
|
||||
createToolFile(
|
||||
`meta.ts`,
|
||||
`
|
||||
@@ -79,7 +78,7 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
// import image from '@assets/text.png';
|
||||
|
||||
export const tool = defineTool('${folder}', {
|
||||
export const tool = defineTool('${folder.split(sep)[folder.split(sep).length - 1]}', {
|
||||
name: '${toolNameTitleCase}',
|
||||
path: '/${toolName}',
|
||||
// image,
|
||||
|
Reference in New Issue
Block a user