Detached Profile
To meet the complexity of various usage scenarios, Surge supports separating a section of the configuration file into one or more separate files. This feature is also called linked profile at the UI level.
Example:
The referenced file must contain the corresponding section declaration with []. Therefore, the file can be either a partial configuration file containing only some sections (one or more) or a complete configuration.
With this feature, you can:
Only reference the [Proxy] and [Proxy Group] sections from the proxy service provider's managed configuration and write the other sections yourself.
Share the content of a few sections between multiple configurations.
Please note:
After modifying the configuration through the UI, the configuration will be written to the corresponding separate configuration section files according to the include declaration. However, if a section refers to multiple separate configuration section files, the related content of that section cannot be edited in the UI.
If a managed configuration is referenced, the related configuration cannot be edited, but it does not affect the adjustment of other sections.
There is no requirement for the file extension. If it is a complete configuration, you can continue to use the conf extension. If it is not a complete configuration, it is recommended to use the dconf extension. Dconf files can be displayed in the list in Surge iOS and can be edited with a text editor.
The referenced file cannot refer to another file.
Last updated