Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle ignoring host guard if entry already exists #27

Merged
merged 1 commit into from
Dec 31, 2023

Conversation

jacobtread
Copy link
Member

Description

The client will no longer attempt to write to the host file if there is already an entry (Previously the old entry would just be overwritten). This means if you've manually modified your hosts file you can run the client without requiring admin permissions and won't get a warning on startup. The client also won't remove the host entry on exit if the entry existed before the program started.

Changes

  • Additional check for existing entry before modifying host

Related Issues

@jacobtread jacobtread added the enhancement New feature or request label Dec 31, 2023
@jacobtread jacobtread self-assigned this Dec 31, 2023
@jacobtread jacobtread linked an issue Dec 31, 2023 that may be closed by this pull request
2 tasks
@jacobtread jacobtread merged commit 6daf9b1 into master Dec 31, 2023
2 checks passed
@jacobtread jacobtread deleted the 24-task-host-modification-pre-checking branch December 31, 2023 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Task: Host modification pre-checking
1 participant