Gui: Check for Snap and add details to About

This commit is contained in:
Chris Hennes
2022-05-30 13:19:02 -05:00
parent 0b574523e9
commit 307cb3cda8

View File

@@ -704,6 +704,9 @@ void AboutDialog::on_copyButton_clicked()
char *appimage = getenv("APPIMAGE");
if (appimage)
str << " AppImage";
char* snap = getenv("SNAP_REVISION");
if (snap)
str << " Snap " << snap;
str << '\n';
#if defined(_DEBUG) || defined(DEBUG)