
Is there a conflict when packaging the entire project folder and then extracting it directly to obtain the project root directory? At least on Windows systems, directly packaging the entire project folder results in a structure like this:
optimizer
|-optimizer
| |-deps
| | |-…
| |-CMakeLists.txt
| |-main.cpp
| |-…
Whereas after extracting directly, the project root directory should have this structure (according to my understanding):
optimizer
|-deps
| |-…
|-CMakeLists.txt
|-main.cpp
|-…
No conflict, that’s how it is.
Most likely it’s the zip extraction issue built into Windows File Explorer. When it extracts a zip, it automatically extracts the archive into a folder with the same name, so if you right‑click to compress the optimizer directory directly, and then in Windows right‑click to extract the newly created optimizer.zip, you’ll end up with two nested folders of the same name. This problem won’t occur on the server.