comm.h 797 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #define CLASHXW_APP_ID L"com.dsproxy.sproxy"
  3. constexpr auto DSPROXY_DATA_DIR = L"DSProxy";
  4. constexpr auto DSPROXY_DATA_DIR_PORTABLE = L"Data";
  5. constexpr auto DSPROXY_CONFIG_NAME = L"DSProxy.json";
  6. constexpr auto CLASH_ASSETS_DIR_NAME = L"Assets";
  7. constexpr auto DSPROXY_CONFIG_INIT_ClASH_NAME = L"config_info.yaml";
  8. constexpr auto DSPROXY_CONFIG_ClASH_NAME = L"config.yaml";
  9. constexpr auto DSPROXY_CONFIG_TUN_ClASH_NAME = L"tun_config.yaml";
  10. constexpr auto DSPROXY_CONFIG_DIR_NAME = L"Config";
  11. constexpr auto DSPROXY_EXE_NAME = L"syscode.exe";
  12. constexpr auto CONNECT_NODE_MSG = L"正在获取节点..不能操作";
  13. constexpr auto SUEECS_NODE_MSG = L"获取节点成功..";
  14. constexpr auto VERSION = L"1.2.0";
  15. struct ServerListUrl {
  16. int id;
  17. SStringW name;
  18. std::string url;
  19. };