Skip to content

Commit

Permalink
fix:change order
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacper-RF committed Nov 2, 2023
1 parent 7444d0a commit cae556a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/desktop/src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ const updaterInterval = 15 * 60_000
export const isDev = process.env.NODE_ENV === 'development'
export const isE2Etest = process.env.E2E_TEST === 'true'

const SOCKET_IO_SECRET = generateSecret()

const webcrypto = new Crypto()

global.crypto = webcrypto

const SOCKET_IO_SECRET = generateSecret()

let dataDir = DATA_DIR
let mainWindow: BrowserWindow | null
let splash: BrowserWindow | null
Expand Down

0 comments on commit cae556a

Please sign in to comment.