mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
The Flutter dev tools includes opt-out analytics, with a config option to opt out. We can at least try to disable them in the buildserver. That config option is unfortunately not even guaranteed to work: https://github.com/flutter/flutter/issues/19304 https://github.com/flutter/flutter/issues/45369 issuebot#21 issuebot!49 https://github.com/flutter/flutter/issues/73657
16 lines
239 B
Bash
16 lines
239 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
# Flutter
|
|
# https://github.com/flutter/flutter/issues/73657
|
|
flutter_conf=/home/vagrant/.flutter
|
|
cat <<EOF > $flutter_conf
|
|
{
|
|
"enabled": false
|
|
}
|
|
EOF
|
|
chown -R vagrant.vagrant $flutter_conf
|
|
chmod -R 0644 $flutter_conf
|
|
|