x64dbg 关闭节庆图标
圣诞节和复活节期间 x64dbg 会显示节庆图标
关闭

对应x64dbg.ini配置文件中:
……
[Gui]
NoSeasons=1
……
NoSeasons
Set to 1 to disable easter eggs and Christmas icons.
对应源码
\src\gui\Src\Utils\MiscUtil.cpp
allowSeasons
static bool allowSeasons()
{
srand(GetTickCount());
duint setting = 0;
return !BridgeSettingGetUint("Gui", "NoSeasons", &setting) || !setting;
}
DIconHelper
QIcon DIconHelper(QString name)
{
if(name.endsWith(".png"))
name = name.left(name.length() - 4);
static bool icons = allowIcons();
if(!icons)
return QIcon();
static bool seasons = allowSeasons();
static bool christmas = isChristmas();
static bool easter = isEaster();
if(seasons)
{
if(christmas)
name = QString("christmas%1").arg(rand() % 8 + 1);
else if(easter)
name = QString("easter%1").arg(rand() % 8 + 1);
}
return QIcon::fromTheme(name);
}

浙公网安备 33010602011771号