mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	@@ -291,7 +291,7 @@ async function installAsset(url, assetType, filename) {
 | 
			
		||||
    try {
 | 
			
		||||
        if (category === 'extension') {
 | 
			
		||||
            console.debug(DEBUG_PREFIX, 'Installing extension ', url);
 | 
			
		||||
            await installExtension(url);
 | 
			
		||||
            await installExtension(url, false);
 | 
			
		||||
            console.debug(DEBUG_PREFIX, 'Extension installed.');
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
@@ -309,7 +309,7 @@ async function installAsset(url, assetType, filename) {
 | 
			
		||||
                console.debug(DEBUG_PREFIX, 'Importing character ', filename);
 | 
			
		||||
                const blob = await result.blob();
 | 
			
		||||
                const file = new File([blob], filename, { type: blob.type });
 | 
			
		||||
                await processDroppedFiles([file], true);
 | 
			
		||||
                await processDroppedFiles([file]);
 | 
			
		||||
                console.debug(DEBUG_PREFIX, 'Character downloaded.');
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user