This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
|
#include <stdio.h>
|
|
|
|
int isFlatpak() {
|
|
FILE *file;
|
|
if ((file = fopen("/.flatpak-info", "r"))) {
|
|
fclose (file);
|
|
return 1;
|
|
} else {
|
|
return 0;
|
|
}
|
|
}
|