Skip to content

Commit

Permalink
[plus] Show macos by default
Browse files Browse the repository at this point in the history
  • Loading branch information
allburov committed Aug 1, 2023
1 parent 51acce1 commit f02b62e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/session.noweb.core.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import makeWASocket, {
Browsers,
DisconnectReason,
isJidGroup,
makeInMemoryStore,
Expand Down Expand Up @@ -47,6 +48,7 @@ import {
WAHAPresenceData,
} from '../structures/presence.dto';
import { WAMessage, WANumberExistResult } from '../structures/responses.dto';
import { BROADCAST_ID, TextStatus } from '../structures/status.dto';
import {
ensureSuffix,
WAHAInternalEvent,
Expand All @@ -58,7 +60,6 @@ import {
} from './exceptions';
import { createAgentProxy } from './helpers.proxy';
import { QR } from './QR';
import { BROADCAST_ID, TextStatus } from '../structures/status.dto';

// eslint-disable-next-line @typescript-eslint/no-var-requires
const QRCode = require('qrcode');
Expand Down Expand Up @@ -104,7 +105,7 @@ export class WhatsappSessionNoWebCore extends WhatsappSession {
fetchAgent: agent,
auth: state,
printQRInTerminal: true,
browser: ['Linux', 'Chrome', '111.0.5563.64'] as WABrowserDescription,
browser: Browsers.macOS('Chrome'),
logger: logger,
mobile: false,
};
Expand Down

0 comments on commit f02b62e

Please sign in to comment.