mirror of https://github.com/jiahaog/Nativefier
10 lines
218 B
JavaScript
10 lines
218 B
JavaScript
|
import { inferUserAgent } from './../../infer';
|
||
|
|
||
|
export default function ({ userAgent, electronVersion, platform }) {
|
||
|
if (userAgent) {
|
||
|
return userAgent;
|
||
|
}
|
||
|
|
||
|
return inferUserAgent(electronVersion, platform);
|
||
|
}
|