feat: install by local bundle change

This commit is contained in:
Joel
2024-11-19 18:32:17 +08:00
parent e151c2ee8c
commit 5947e38ea0
7 changed files with 12 additions and 11 deletions

View File

@ -28,7 +28,7 @@ const InstallFromLocalPackage: React.FC<InstallFromLocalPackageProps> = ({
const [uniqueIdentifier, setUniqueIdentifier] = useState<string | null>(null)
const [manifest, setManifest] = useState<PluginDeclaration | null>(null)
const [errorMsg, setErrorMsg] = useState<string | null>(null)
const isBundle = file.name.endsWith('.bundle')
const isBundle = file.name.endsWith('.difybndl')
const [dependencies, setDependencies] = useState<Dependency[]>([])
const getTitle = useCallback(() => {