mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
no pingbacks if running a development version
This commit is contained in:
parent
30fd6ed4de
commit
cc907f3df5
1 changed files with 8 additions and 0 deletions
|
|
@ -241,6 +241,14 @@ namespace ARDOUR {
|
||||||
|
|
||||||
void pingback (const string& version, const string& announce_path)
|
void pingback (const string& version, const string& announce_path)
|
||||||
{
|
{
|
||||||
|
/* check this is not being run from ./ardev etc. */
|
||||||
|
gchar const *x = g_getenv ("ARDOUR_THEMES_PATH");
|
||||||
|
|
||||||
|
if (x && string (x).find ("gtk2_ardour") != string::npos) {
|
||||||
|
std::cerr << "no ping\n";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ping_call* cm = new ping_call (version, announce_path);
|
ping_call* cm = new ping_call (version, announce_path);
|
||||||
pthread_t thread;
|
pthread_t thread;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue