PowerTranslator icon indicating copy to clipboard operation
PowerTranslator copied to clipboard

Fix lib.bat file

Open MrVitaly opened this issue 6 months ago • 0 comments

Changes in the lib.bat file:

  • Creating the lib Directory: Ensures that the target directory exists before attempting to copy the files, preventing potential errors if the directory is missing.

  • Using %LOCALAPPDATA% Path: This change enhances flexibility and correctness by copying the DLLs from the local user's application data directory, which may reflect the latest or user-specific versions of the PowerToys DLLs, rather than the global installation directory. This can be especially useful in environments where multiple users or versions exist.

MrVitaly avatar Aug 08 '24 20:08 MrVitaly