thecatkitty / lavender

Multiplatform slideshow application
https://celones.pl/lavender
MIT License
4 stars 0 forks source link

Archive not found when the executable is signed #143

Closed thecatkitty closed 1 year ago

thecatkitty commented 1 year ago

Lavender cannot find the archive when https://blog.barthe.ph/download/2009/AppendPayLoad.tar.bz2 is used, unless the following conditions are met:

  1. ZIP archive is aligned to 8-byte boundary.
  2. AppendPayLoad.cpp:118 is replaced with:
    const int padding_size = (payload_size % PAYLOAD_ALIGNMENT) ? (PAYLOAD_ALIGNMENT - (payload_size % PAYLOAD_ALIGNMENT)) : 0;

Needed our own Python tool for making bundles with signed binaries.