Skip to content

Fixed Portable Version

Latest

Choose a tag to compare

@Spr-Aachen Spr-Aachen released this 19 Aug 14:36
· 1 commit to dev since this release

This is the portable version for FlClash v0.8.96 with config storage fix inspired by Visual Studio Code's portable design.

Features:

  • Data lives next to the executable (config/ beside FlClash.exe, like VS Code's data/)
  • Presence of the folder activates portable mode (isPortable = true if config/ exists, so portable mode can be activated/deactivated via creating/removing the config/ folder)
  • One-time migration from an existing install (%APPDATA%/com.follow/clash → portable config/) with improvement over VS Code: migration only copies missing files/dirs, never overwrites existing portable data.
  • tmp/ folder next to the app redirects the temp directory (same trick as VS Code)
  • Keep the config/ folder while upgrading

PS:

  • Portable mode only on desktop ZIP builds, not the installer
  • Theoritically, these features should also work on Linux and MacOS, you can test them if you have the corresponding env.