Skip to content

Fix lib.bat file#49

Open
MrVitaly wants to merge 1 commit intoN0I0C0K:mainfrom
MrVitaly:MrVi.FixLibBatFile
Open

Fix lib.bat file#49
MrVitaly wants to merge 1 commit intoN0I0C0K:mainfrom
MrVitaly:MrVi.FixLibBatFile

Conversation

@MrVitaly
Copy link

@MrVitaly MrVitaly commented Aug 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant