Giter VIP home page Giter VIP logo

Comments (12)

Xmarmalade avatar Xmarmalade commented on July 28, 2024

其实是做过处理的,如果通过alisthelper启动,会读取日志输出:

  void checkState(String text) {
    if (text.contains('start server')) {
      if (text.contains('FATA')) {
        text = text.split('FATA')[0].trim();
      }
      String url = text.split('@')[1].trim().split(':')[1].trim();
      url = 'http://localhost:$url';
      state = state.copyWith(url: url);
    }
  }

如果读取不到,则使用默认端口

  AlistState({
    this.isRunning = false,
    this.output = const [],
    this.url = 'http://localhost:5244',
    this.currentVersion = 'v1.0.0',
    this.latestVersion = 'v1.0.0',
  });

你是通过alisthelper启动的吗?
如果输出正常,应该可以看到:
image
image

from alisthelper.

anwen-anyi avatar anwen-anyi commented on July 28, 2024

是的,通过启动日志我看到是读取到了
image

然而实际上
(视频若是不能播放,麻烦下载一下查看1MB)
https://github.com/Xmarmalade/alisthelper/assets/56105412/5e72ae91-f253-4d9d-bd4f-0b5447a7b8b6

from alisthelper.

Xmarmalade avatar Xmarmalade commented on July 28, 2024

为什么你的输出是start HTTP server?

from alisthelper.

anwen-anyi avatar anwen-anyi commented on July 28, 2024

为什么你的输出是start HTTP server?

😢 这个我也不知道我是今天刚从GitHub下载的QAQ~我重新安装试试

from alisthelper.

Xmarmalade avatar Xmarmalade commented on July 28, 2024

那应该是3.19.0改了提示,我修一下

from alisthelper.

anwen-anyi avatar anwen-anyi commented on July 28, 2024

那应该是3.19.0改了提示,我修一下

3.19.0确实在配置文件有些改动 增加了一个HTTPS端口监听

from alisthelper.

Xmarmalade avatar Xmarmalade commented on July 28, 2024

代码推送过了,一会发新版本

from alisthelper.

anwen-anyi avatar anwen-anyi commented on July 28, 2024

代码推送过了,一会发新版本

可以,还有一个疑惑就是设置代理的话

export https_proxy=http://127.0.0.1:10809 http_proxy=http://127.0.0.1:10809 all_proxy=socks5://127.0.0.1:10809

像我这个怎么设置三条?现在的是只能设置一条~(在TG艾特你来着可能没看到暂时还没回复哈哈)

from alisthelper.

Xmarmalade avatar Xmarmalade commented on July 28, 2024

设置一条就行了。
因为软件会自动配置成http/https代理

from alisthelper.

anwen-anyi avatar anwen-anyi commented on July 28, 2024

懂了~直接写http://127.0.0.1:10809? 端口根据自己的代理软件端口决定

from alisthelper.

Xmarmalade avatar Xmarmalade commented on July 28, 2024

但是我没做socks5的支持,就用http代理就行

from alisthelper.

anwen-anyi avatar anwen-anyi commented on July 28, 2024

嗯 基本够用了~辛苦了

from alisthelper.

Related Issues (20)

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.