Skip to content

Commit c50020e

Browse files
chriamuectron
authored andcommitted
fix: do not unpack downloaded tailwindcss extra on macos or windows
1 parent e221ba3 commit c50020e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tools.rs

+4
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,10 @@ async fn install(app: Application, archive_file: File, target_directory: PathBuf
452452
Archive::new_zip(archive_file)?
453453
} else if app == Application::TailwindCss {
454454
Archive::new_none(archive_file)
455+
} else if app == Application::TailwindCssExtra
456+
&& (cfg!(target_os = "macos") || cfg!(target_os = "windows"))
457+
{
458+
Archive::new_none(archive_file)
455459
} else {
456460
Archive::new_tar_gz(archive_file)
457461
};

0 commit comments

Comments
 (0)