Skip to content

Commit 9080552

Browse files
authored
Fix issue where using ProcessInfo.hostName causes local network permission prompt
1 parent be28488 commit 9080552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Segment/Plugins/Platforms/Vendors/AppleUtils.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ internal class MacOSVendorSystem: VendorSystem {
202202
}
203203

204204
override var name: String {
205-
return device.hostName
205+
return device.userName
206206
}
207207

208208
override var identifierForVendor: String? {

0 commit comments

Comments
 (0)