Skip to content

HuaiYu-Yang/adapter_selecter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adapter_selecter

Windows GUI tool to bind a program to a specific network adapter IPv4 using ForceBindIP.

功能

  • 自动枚举本机 IPv4 适配器(Wi-Fi/以太网/其他)
  • 显示当前 DHCP IPv4 地址
  • 选择目标 exe,一键用指定 IP 启动
  • 适配中文/英文 netsh 输出

运行环境

  • Windows 10/11
  • Python 3.8+(开发运行)
  • ForceBindIP.exeselecter.py 同目录(运行/打包后同目录)

使用方法

  1. 确保同目录存在 ForceBindIP.exe
  2. 运行 selecter.py
  3. 选择网络适配器
  4. 选择要绑定的 exe
  5. 点击“一键绑定并运行”

打包(可选)

如果使用 PyInstaller,可参考已有 selecter.spec

pyinstaller selecter.spec

目录结构

adapter_selecter/
  selecter.py
  selecter.spec
  icon.ico
  ForceBindIP.exe

说明

本工具仅封装调用 ForceBindIP,实际效果取决于系统网络环境与目标程序行为。

About

Windows GUI tool to bind a program to a specific network adapter IPv4 using ForceBindIP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors