* Get device info for session tracking
()
| 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 |