# ForceBindIPGUI-python **Repository Path**: cherry_61/force-bind-ipgui-python ## Basic Information - **Project Name**: ForceBindIPGUI-python - **Description**: No description available - **Primary Language**: Python - **License**: MPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-02 - **Last Updated**: 2026-04-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ForceBindIP GUI Windows 图形化工具,用于将应用程序强制绑定到指定的网络接口或 IP 地址运行。 ## 功能简介 - **网络接口检测**:自动获取本机所有网络接口的 IP 地址 - **IP 绑定启动**:将任意应用程序绑定到指定的网络接口/IP 启动 - **批量运行**:支持同时启动多个应用程序到同一网络接口 - **历史记录**:保存启动历史,方便重复运行 - **系统托盘**:支持最小化到系统托盘运行 - **主题切换**:支持浅色/深色主题切换 ## 环境要求 - Windows 10 或更高版本 - Python 3.12 - 需要 `customtkinter` 库 - forcebindip 它自身对环境的要求,这个就看自己的电脑了. ## 安装步骤 ### 1. 安装 Python 依赖 ```bash pip install -r requirements.txt ``` 或单独安装: ```bash pip install customtkinter ``` ### 2. 准备 ForceBindIP 程序 确保以下文件与脚本在同一目录下: - `ForceBindIP.exe` (32位) - `ForceBindIP64.exe` (64位) - `BindIP.dll` (32位) - `BindIP64.dll` (64位) > 这些文件是 ForceBindIP 官方程序,请自行从 [ForceBindIP 官网](https://r1ch.net/projects/forcebindip) 或其他可靠来源获取。 ## 使用方法 1. 运行 `python forcebindip_gui.py` 或 `python 1_forcebindip_gui.py` 2. 在左上角下拉菜单选择要绑定的 IP 地址 3. 点击 "浏览" 选择要运行的程序 4. 如需传入参数,在命令行参数框中填写 5. 点击 "启动" 运行程序 ### 界面版本说明 仓库包含多个版本的 GUI 程序: | 文件 | 特性 | |------|------| | `forcebindip_gui.py` | 基础版本 | | `1_forcebindip_gui.py` | 支持系统托盘 | | `2_forcebindip_gui.py` | 支持多程序列表管理 | | `3_forcebindip_gui.py` | 改进版界面 | | `4_forcebindip_gui.py` | 精简版 | | `5_forcebindip_gui.py` | 完整功能版 | ## 注意事项 - 使用管理员权限运行可避免部分网络权限问题 - 确保选择的 IP 地址对应网卡正常工作 - 部分防火墙或安全软件可能会拦截 ForceBindIP 的网络修改行为 ## 许可证 MIT License