Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Unrar.dll - technical proposal for correct extraction and find for load algoritm used after Git-2ce8617ba #1116
Users make reasonable comments about the loss of portability of the program after Git 2ce8617 - the unrar.dll library is always unpacked in the %LOCALAPPDATA%\SumatraPDF\Extracted<randomdiir> directory even if it is in the same directory as the SumatraPDF executable.
To eliminate their comments, I propose to adjust the algorithm for searching and loading this DL like:
And taking this opportunity, let me congratulate you on the upcoming New Year and wish you happiness, health and more good and interesting people on the path of life.
I rewrites src\AppTools.cpp DLL extract algorithm and added try check for Read Only folders:
Reasone for editing is minimized write's on Flash/SSD disks
I read Rar unpack code in to rar/rar rar.c (212):
and in the yard the 2019th year :)
ps. - fix typo