mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-15 18:35:00 +03:00
db8b01b8ed
Kaspersky (Trojan.Win64.Agent.sb / .smhqgz) and Defender flag the Windows build heuristically. A stripped, unsigned Go binary with no VERSIONINFO, icon or manifest scores high on those heuristics, so the release job now generates a resource .syso with go-winres from winres/winres.json, stamped with internal/config/version, before go build. The .syso is a build artifact and is gitignored. The Windows zip now carries 3x-ui.exe instead of x-ui.exe, matching the project name, and the executable embeds the 3X logo as its icon. The icon is a square 256px crop of media/3x-ui-dark.png, since the source logo is 400x200 and Windows icons must be square.
47 lines
543 B
Plaintext
47 lines
543 B
Plaintext
# Ignore editor and IDE settings
|
|
.idea/
|
|
.vscode/
|
|
.cursor/
|
|
.specify/
|
|
.claude/
|
|
.cache/
|
|
.sync*
|
|
|
|
# Ignore log files
|
|
*.log
|
|
|
|
# Ignore temporary files
|
|
tmp/
|
|
*.tar.gz
|
|
|
|
# Ignore build and distribution directories
|
|
backup/
|
|
bin/
|
|
x-ui/
|
|
dist/
|
|
release/
|
|
node_modules/
|
|
|
|
# Ignore compiled binaries
|
|
main
|
|
3x-ui
|
|
|
|
# Ignore OS specific files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Ignore Go build files
|
|
*.exe
|
|
*.syso
|
|
x-ui.db
|
|
x-ui.db-shm
|
|
x-ui.db-wal
|
|
system_metrics.gob
|
|
*.dump
|
|
|
|
# Ignore Docker specific files
|
|
docker-compose.override.yml
|
|
|
|
# Ignore .env (Environment Variables) file
|
|
.env
|