-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor file-moving logic and add executable check
Updated the file-moving logic in Program.cs to use a while loop instead of a do-while loop for improved clarity. Introduced a new method, IsCurrentExecutable, that prevents the moving of the current executable file and simplifies related conditions. Improved logging by adding a specific log message if the current executable file is encountered.
- Loading branch information
1 parent
e98b57b
commit f0f3856
Showing
1 changed file
with
41 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters