Based on Nekogram. Key additions: - Rebrand to FoxiGram (app name, APK name, applicationId com.foxigram.app) - Embedded Xray (VLESS+Reality) proxy client via JNI libxray.so - Bundled hidden one-tap proxies (LTE + WiFi), read-only in UI - Auto-restore proxy on restart, rebind to active network (LTE/WiFi) - Server credentials externalized to git-ignored XrayServers.java (+ template) - libxray Go source included; compiled .so, keystore, google-services.json ignored
9 lines
No EOL
296 B
C++
Executable file
9 lines
No EOL
296 B
C++
Executable file
#include "WindowsSpecific.h"
|
|
|
|
using namespace tgvoip;
|
|
|
|
std::string WindowsSpecific::GetErrorMessage(DWORD code){
|
|
char buf[1024]={0};
|
|
FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM, NULL, code, MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), buf, sizeof(buf), NULL);
|
|
return std::string(buf);
|
|
} |