You've already forked AstralRinth
fix: memory issues when importing giant mrpack files (#6278)
* feat: dont load mrpacks into memory if they are local imports * fix: frontend
This commit is contained in:
@@ -196,9 +196,11 @@ watch(
|
||||
)
|
||||
|
||||
async function triggerFileInput() {
|
||||
const picked = await filePicker.pickModpackFile()
|
||||
const picked = await filePicker.pickModpackFile({
|
||||
readFile: ctx.flowType !== 'instance',
|
||||
})
|
||||
if (picked) {
|
||||
ctx.modpackFile.value = picked.file
|
||||
ctx.modpackFile.value = picked.file ?? null
|
||||
ctx.modpackFilePath.value = picked.path ?? null
|
||||
proceedWithModpack()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user