oldj / oldj/SwitchHosts

注意有大问题,把我所有 HOST 全清空了

Open
#656 7 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

In Progress
Dominant language
Rust
Stars
27.2k
Forks
2.7k
Avg merge
5h 44m
Merged PRs (30d)
3

Description

System (Mac, Windows 7/8/10, Linux) / 操作系统

Mac

SwitchHosts! Version / SwitchHosts! 版本

最新版

Description / 描述

加了个 host,过了会想再加一个,打开后全没了,查看 /etc/hosts 内容全空了,要了老命了。

How to reproduce / 重现步骤

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the sequence of adding one host, waiting, then adding another, and inspect /etc/hosts after each step. Determine why the hosts file becomes empty and verify that repeated host additions preserve its existing contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.