zip files in ErickOS are very different from real .zip files because their structure is in json with a content that contains all the instructions that the decompressor has to interpret and copy the file looks something like this: {
"name":"Hello.zip",
"file":
[
"{\"name\":\"Folder\",\"file\":\"file\",\"path\":\"/Hello\"}",
"{\"name\":\"Hello.txt\",\"file\":\"Hello World\",\"path\":\"/Hello/Folder\"}",
"{\"name\":\"Bye.txt\",\"file\":\"Bye\",\"path\":\"/Hello/Folder\"}",
"{\"name\":\"Readme.txt\",\"file\":\"this is a normal zip file\",\"path\":\"/Hello\"}"
],
"path":""
}
This is to make it more understandable and easier to unzip. Zips are also used to create users since there is a file called "default.zip" located in "/ErickOS/Users" that is used so that when the user being created is unzipped and renamed, it has pre-made settings.