Giter Site home page Giter Site logo

gpp's Introduction

gpp

gpp加速器,让你的加速器支持主机、mac、linux

编译命令行

使用golang编译 cmd/gpp/main.go获得命令行二进制文件。

编译GUI客户端

使用fyne.io编译

  • windows
fyne package -os windows -icon logo.png
  • linux
fyne package -os linux -icon logo.png

使用方法

配置文件

使用json的格式,配置文件名为config.json,放在程序同级目录下。或者通过第二个参数指定配置文件路径 客户端配置文件和服务端配置文件格式字段相同

字段描述

  • port 监听端口/服务器端口
  • addr 监听地址/服务器地址
  • uuid 用于认证的uuid

配置文件示例

{
  "port": 5123,
  "addr": "127.0.0.1",
  "uuid": "xxxx-xxx-xxx-xxx-xxx"
}

服务端启动!

例如我有某加速器,我在加速器上选择加速英雄联盟国际服

然后我知道lol游戏文件夹中有个exe叫client.exe

那么我就可以这样启动服务端将我的服务端文件名修改为client.exe,记得放config.json到你的服务端同级目录下

然后启动加速器加速如果可以选择加速模式可以选择进程模式(不行的话可以尝试路由模式)。

客户端启动!

同样的将配置文件修改后放入客户端可执行文件同级目录,启动后会自动读取同级目录下的config.json文件。

启动成功后会看到启动成功提示。第一次使用会下载数据需要等待一会。

效果图

img.png

gpp's People

Contributors

danbai225 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.