Revert "Fix import from file"

This reverts commit 0428f701bf.
This commit is contained in:
2024-09-11 23:02:56 +03:00
parent 54fc11493a
commit 2deff99720

View File

@@ -417,7 +417,7 @@ const openFile = async () => {
const newProject = await open({ multiple: false }) const newProject = await open({ multiple: false })
if (!newProject) return if (!newProject) return
hide() hide()
await install_from_file(newProject).catch(handleError) await install_from_file(newProject.path).catch(handleError)
trackEvent('InstanceCreate', { trackEvent('InstanceCreate', {
source: 'CreationModalFileOpen', source: 'CreationModalFileOpen',