- Implement DeviceRegistry for remote device management - Add dashboard for device tracking and blocking - Remote device blocking capability with admin control - Support for device aliasing and notes - Enhanced device management interface - Dashboard with real-time device status - Configurable registry URL in build config 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
263 B
JavaScript
11 lines
263 B
JavaScript
/**
|
|
* Detect Electron renderer process, which is node, but we should
|
|
* treat as a browser.
|
|
*/
|
|
|
|
if (typeof process !== 'undefined' && process.type === 'renderer') {
|
|
module.exports = require('./browser.js');
|
|
} else {
|
|
module.exports = require('./node.js');
|
|
}
|