👀偷偷观察
2023-10-21 18:01 deepin
把壁纸留下 你可以走了。
https://github.com/linuxdeepin/dde-session/blob/8afee6b899db229f45c77571831046aa96ce3779/src/dde-session/othersmanager.cpp#L83
bool OthersManager::inVM()
{
QProcess p;
p.start("systemd-detect-virt", QStringList() << "-v" << "-q");
p.waitForFinished();
return p.exitCode() != 0;
}
搜到了这段代码,不知道把这个脚本输出改一下,可能就可以。
如果你解决了,希望你反馈一下解决方法
Reply Like 0 View the author
可是我系统是在实体机上的,不知道怎么去掉这个提示