mirror of
https://github.com/marktext/marktext.git
synced 2025-05-17 01:10:41 +08:00
12 lines
260 B
JavaScript
12 lines
260 B
JavaScript
export const showAboutDialog = win => {
|
|
if (win && win.webContents) {
|
|
win.webContents.send('AGANI::about-dialog')
|
|
}
|
|
}
|
|
|
|
export const showTweetDialog = (win, type) => {
|
|
if (win && win.webContents) {
|
|
win.webContents.send('AGANI::tweet', type)
|
|
}
|
|
}
|