[GH-ISSUE #4387] 我需要直接把配置文件一起编译,请问需要如何做? #3464

Closed
opened 2026-05-05 14:13:41 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @wuai1024 on GitHub (Aug 16, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4387

Describe the feature request

目前编译后,需要外挂配置文件,我有部分场景,是需要把配置文件内置的,然后直接运行编译之后的文件。请问下我需要如何做?

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @wuai1024 on GitHub (Aug 16, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4387 ### Describe the feature request 目前编译后,需要外挂配置文件,我有部分场景,是需要把配置文件内置的,然后直接运行编译之后的文件。请问下我需要如何做? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [X] Others
Author
Owner

@superzjg commented on GitHub (Aug 18, 2024):

其实可以不用配置文件,而用启动参数实现的。

<!-- gh-comment-id:2295215400 --> @superzjg commented on GitHub (Aug 18, 2024): 其实可以不用配置文件,而用启动参数实现的。
Author
Owner

@wuai1024 commented on GitHub (Aug 18, 2024):

其实可以不用配置文件,而用启动参数实现的。

多了用参数不是很方便,我是需要集中下发。客户端只需要运行就行,不关注配置文件。

<!-- gh-comment-id:2295216028 --> @wuai1024 commented on GitHub (Aug 18, 2024): > 其实可以不用配置文件,而用启动参数实现的。 多了用参数不是很方便,我是需要集中下发。客户端只需要运行就行,不关注配置文件。
Author
Owner

@wuai1024 commented on GitHub (Aug 18, 2024):

已解决。

<!-- gh-comment-id:2295216061 --> @wuai1024 commented on GitHub (Aug 18, 2024): 已解决。
Author
Owner

@yangjieshao commented on GitHub (Aug 19, 2024):

已解决。

    • 咋解决的倒是说一句啊
<!-- gh-comment-id:2295512902 --> @yangjieshao commented on GitHub (Aug 19, 2024): > 已解决。 - - 咋解决的倒是说一句啊
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3464
No description provided.