Sticker Creator Window

This commit is contained in:
Fedor Indutny
2023-04-20 08:59:17 -07:00
committed by GitHub
parent 498b116794
commit d380817a44
213 changed files with 34677 additions and 40 deletions

View File

@@ -0,0 +1,14 @@
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { contextBridge, ipcRenderer } from 'electron';
contextBridge.exposeInMainWorld('getCredentials', async () =>
ipcRenderer.invoke('get-art-creator-auth')
);
contextBridge.exposeInMainWorld(
'installStickerPack',
(packId: string, key: string) =>
ipcRenderer.invoke('install-sticker-pack', packId, key)
);