openspades icon indicating copy to clipboard operation
openspades copied to clipboard

`ninja clean; ninja; bin/openspades` → `File not found: Gfx/Fonts/SquareFontBig.png`

Open yvt opened this issue 4 years ago • 2 comments

downloadpak.sh only checks if OpenSpadesDevPackage-*.zip (intermediate product) is present. It doesn't do anything if its final product (i.e., the files extracted from OpenSpadesDevPackage-*.zip) is missing.

ninja clean only deletes the final product, so the subsequent build fails to trigger the main operation of downloadpak.sh, leading to the aforementioned runtime error.

yvt avatar Dec 07 '21 15:12 yvt

Hey there,i would like to help with this issue.

tfysekis avatar Feb 17 '22 19:02 tfysekis

Awesome! Here's the relevant part:

https://github.com/yvt/openspades/blob/d7d467e70954b6de080823c600b461ddeccf5e09/Resources/downloadpak.sh#L27-L38

https://github.com/yvt/openspades/blob/d7d467e70954b6de080823c600b461ddeccf5e09/Resources/CMakeLists.txt#L24-L33

yvt avatar Feb 20 '22 06:02 yvt