MCPcopy Index your code
hub / github.com/21st-dev/1code / getDeviceInfo

Method getDeviceInfo

src/main/auth-manager.ts:78–83  ·  view source on GitHub ↗

* Get device info for session tracking

()

Source from the content-addressed store, hash-verified

76 * Get device info for session tracking
77 */
78 private getDeviceInfo(): string {
79 const platform = process.platform
80 const arch = process.arch
81 const version = app.getVersion()
82 return `21st Desktop ${version} (${platform} ${arch})`
83 }
84
85 /**
86 * Get a valid token, refreshing if necessary

Callers 1

exchangeCodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected