A reused build-script executable retained an obsolete archive path through env! and could no longer find the App icon. Read the Cargo manifest directory when the build script runs, as documented by Cargo. The same cached executable now compiles resources from both the checkout and a frozen archive; Windows capture-feature checks pass without clearing the cache.