Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make download script work on Windows, too #397

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

cr333
Copy link
Contributor

@cr333 cr333 commented Sep 10, 2024

  1. Recent versions of Windows 10 don't have wget but do have curl, so now we can download files across the major platforms.
  2. Windows 10 also doesn't have the unzip program, but a version of tar (apparently bsdtar), which supports .zip files (unlike the GNU tar on the Linux box I tested on). So need to use different code paths depending on platform.

Tested on Windows 10 22H2 and Linux.

1. Recent versions of Windows 10 don't have `wget` but do have `curl`, so now we can download files across the major platforms.
2. Windows 10 also doesn't have the `unzip` program, but a version of `tar` (apparently bsdtar), which supports `.zip` files (unlike the GNU tar on the Linux box I tested on). So need to use different code paths depending on platform.

Tested on Windows 10 22H2 and Linux.
Copy link
Collaborator

@liruilong940607 liruilong940607 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Christian! LGTM!

@liruilong940607 liruilong940607 merged commit d0dca4f into nerfstudio-project:main Sep 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants