Unverified 提交 0dc4d6c6 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

fix ipc naming for get system platform (#140)

上级 993c5417
......@@ -49,5 +49,5 @@ export function registerWindowHandlers() {
ipcMain.handle("window:minimize", handleMinimize);
ipcMain.handle("window:maximize", handleMaximize);
ipcMain.handle("window:close", handleClose);
ipcMain.handle("window:get-platform", handleGetSystemPlatform);
ipcMain.handle("get-system-platform", handleGetSystemPlatform);
}
......@@ -63,7 +63,7 @@ const validInvokeChannels = [
"window:minimize",
"window:maximize",
"window:close",
"window:get-platform",
"get-system-platform",
"upload-to-signed-url",
"delete-chat",
"delete-messages",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论