UberGuidoZ / Flipper

Playground (and dump) of stuff I make or modify for the Flipper Zero
MIT License
12.84k stars 3.07k forks source link

Why do i see so many folders as empty after unziping #458

Closed Zukovsky911 closed 11 months ago

Zukovsky911 commented 11 months ago

Just for example the HAK5 repository folder is empty after i have unzipped the file completely

UberGuidoZ commented 11 months ago

You'll need to provide a bit more information. What are you downloading, and how?

pryh4ck commented 11 months ago

yes when i download the zip file of your repo tons of submodules such as badusb have alot of empty folders. you have to go download the individual repos in your submodule for the folders that are blue, indicating they are in a seperate repo.. i think thats what he is talking about and honestly it took me a while to figure that out.. maybe you should put a little instruction on how to download the files properly? or not. lol thank you for all your hard work though!

UberGuidoZ commented 11 months ago

Submodules do not download via the web (or DownGit as it just uses webcalls.) You'll need to use actual git (commandline or GUI) to get them all, unfortunately. It's not as hard as it seems, promise!

EXAMPLE: After installing git, navigate via command line to the location you want to hold the files, then run git clone --recurse-submodules https://github.com/UberGuidoZ/Flipper.git

pryh4ck commented 11 months ago

Yeah i actually just had a duh momemt shortly after posting... gotta say your always willing to help and teach attitude is refreshing though !

UberGuidoZ commented 11 months ago

No worries! 😊 For some of the submodules that have not updated in a long time, I'm slowly moving them over to be a direct file instead. A quick way to get what is missing is to click the link to the submodule, then grab a ZIP file directly.