-
Notifications
You must be signed in to change notification settings - Fork 6
/
atom.json
81 lines (81 loc) 路 2.77 KB
/
atom.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"id": "atom",
"name": "Atom",
"executable_name": [
"atom"
],
"category_id": "applications",
"category_name": "Applications",
"description": "Help improve Atom by sending usage statistics, exceptions and deprecations to the team.",
"links": {
"main": "https://atom.io",
"telemetry": "https://github.com/atom/metrics",
"privacy": "https://help.github.com/articles/github-privacy-policy/"
},
"telemetry": [
{
"id": "usage-data",
"name": "Usage data",
"traits": {
"official": true,
"usage_data": true,
"update_check": false,
"error_report": false
},
"description": "The user's decision is stored at core.telemetryConsent. The three possible values are `undecided`, `no` and `limited`. The intent is that consent is given if and only if limited is chosen.",
"target": {
"plain_file": {
"scope": {
"user": {
"path": {
"linux": "$HOME/.atom/init.coffee",
"macos": "$HOME/.atom/init.coffee",
"windows": "%USERPROFILE%\\.atom\\init.coffee"
},
"selector": {
"regex": "^[ \\t]*atom.config.set\\([ \\t]*'core.telemetryConsent'[ \\t]*,[ \\t]*'\\w+'[ \\t]*\\)[ \\t]*$"
},
"value": {
"opt_out": "atom.config.set('core.telemetryConsent', 'no')",
"opt_in": "atom.config.set('core.telemetryConsent', 'limited')"
},
"display_value": "atom.config.set('core.telemetryConsent', 'no')"
}
}
}
}
},
{
"id": "update-check",
"name": "Update check",
"traits": {
"official": true,
"usage_data": false,
"update_check": true,
"error_report": false
},
"description": "\"Automatically Update\" is enabled by default in Core Settings of the Settings View, which will allow Atom to check for updates automatically.",
"target": {
"plain_file": {
"scope": {
"user": {
"path": {
"linux": "$HOME/.atom/init.coffee",
"macos": "$HOME/.atom/init.coffee",
"windows": "%USERPROFILE%\\.atom\\init.coffee"
},
"selector": {
"regex": "^[ \\t]*atom.config.set\\([ \\t]*'core.automaticallyUpdate'[ \\t]*,[ \\t]*'\\w+'[ \\t]*\\)[ \\t]*$"
},
"value": {
"opt_out": "atom.config.set('core.automaticallyUpdate', 'false')",
"opt_in": "atom.config.set('core.automaticallyUpdate', 'true')"
},
"display_value": "atom.config.set('core.automaticallyUpdate', 'false')"
}
}
}
}
}
]
}