Skip to content

Commit

Permalink
Merge branch 'main' into feature/VOICEVOX#2011
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkfx authored Dec 19, 2024
2 parents 8b09574 + 4233089 commit 5f799d0
Show file tree
Hide file tree
Showing 12 changed files with 568 additions and 459 deletions.
4 changes: 0 additions & 4 deletions src/backend/browser/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import { getConfigManager } from "./browserConfig";
import { IpcSOData } from "@/type/ipc";
import {
defaultHotkeySettings,
defaultToolbarButtonSetting,
EngineId,
EngineSettingType,
Expand Down Expand Up @@ -247,9 +246,6 @@ export const api: Sandbox = {
changePinWindow() {
throw new Error(`Not supported on Browser version: changePinWindow`);
},
getDefaultHotkeySettings() {
return Promise.resolve(defaultHotkeySettings);
},
getDefaultToolbarSetting() {
return Promise.resolve(defaultToolbarButtonSetting);
},
Expand Down
5 changes: 0 additions & 5 deletions src/backend/electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import { AssetTextFileNames } from "@/type/staticResources";
import {
EngineInfo,
SystemError,
defaultHotkeySettings,
defaultToolbarButtonSetting,
EngineId,
TextAsset,
Expand Down Expand Up @@ -695,10 +694,6 @@ registerIpcMainHandle<IpcMainHandle>({
}
},

GET_DEFAULT_HOTKEY_SETTINGS: () => {
return defaultHotkeySettings;
},

GET_DEFAULT_TOOLBAR_SETTING: () => {
return defaultToolbarButtonSetting;
},
Expand Down
4 changes: 0 additions & 4 deletions src/backend/electron/preload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@ const api: Sandbox = {
return ipcRendererInvokeProxy.HOTKEY_SETTINGS({ newData });
},

getDefaultHotkeySettings: async () => {
return await ipcRendererInvokeProxy.GET_DEFAULT_HOTKEY_SETTINGS();
},

getDefaultToolbarSetting: async () => {
return await ipcRendererInvokeProxy.GET_DEFAULT_TOOLBAR_SETTING();
},
Expand Down
Loading

0 comments on commit 5f799d0

Please sign in to comment.