hiddify / hiddify-app

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
https://hiddify.com
Other
17.56k stars 1.58k forks source link

[FR] The portable version of the software reads the configuration in the data folder of the current directory of the executable by default. #397

Open lanceyliao opened 9 months ago

lanceyliao commented 9 months ago

Feature description

Because there are scenarios where multiple computers synchronize all their files via a cloud drive (e.g. onedrive).

Similar to what Clash for Windows does: Version Requirements Starting from version 0.13.1, the way to open Portable Mode is simply adjusted, refer to the way to open the old version for reference

How to open Portable Mode

When a new folder named data is created in the current directory of the software executable, Portable Mode will use this folder as the base startup folder and as the Home Directory.

The location of the executable varies on different systems:

Windows: Clash for Windows.exe in the installation directory macOS: /Contents/MacOS/Clash for Windows in the package directory When the folder exists, restart the software to enter portable mode, and the software will read/write data to this directory.

Translated with www.DeepL.com/Translator (free version) image image

lymanjre commented 9 months ago

This issue will be transformed to the project and I will close it here.

Joackk commented 4 months ago

Is this feature already available? How do I open it

lanceyliao commented 4 months ago

Is this feature already available? How do I open it

I've switched to using clash verge.

Joackk commented 4 months ago

Is this feature already available? How do I open it

I've switched to using clash verge.

I always felt like the clash verge was a little slower