Gui: Check for Snap and add details to About
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user