Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.
This repository was archived by the owner on May 3, 2023. It is now read-only.

Feature Request: 适配Linux(Ubuntu的途径) #12

@irhawks

Description

@irhawks
  1. 为了在ubuntu下面成功构建deb包,需要在package.json中添加作者信息,比如
"author": {"name": "lxfater", "email": "lxfater@gmail.com"}
  1. 需要修改一些文件的大小写。比如packages/renderer/src/components/ChatGptViewer.vue复制一份到形成packages/renderer/src/components/ChatGPTViewer.vue

  2. 可能需要为Electron程序配置代理。比如在packages/main/src/mainWindow.ts的第26行之后添加如下内容:

  browserWindow.webContents.session.setProxy({
    proxyRules: "socks5://localhost:9050",
  }); 

后面希望代理能够自动识别Linux系统当中的http_proxy或者https_proxy等变量。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions