mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-28 16:56:16 +08:00
merge: resolve conflict in SessionManagerPage with main
Accept main's removal of local terminalTarget state, which was replaced by global settings in refactor(terminal) commit.
This commit is contained in:
@@ -14,14 +14,12 @@ export const sessionsApi = {
|
||||
},
|
||||
|
||||
async launchTerminal(options: {
|
||||
target: string;
|
||||
command: string;
|
||||
cwd?: string | null;
|
||||
customConfig?: string | null;
|
||||
}): Promise<boolean> {
|
||||
const { target, command, cwd, customConfig } = options;
|
||||
const { command, cwd, customConfig } = options;
|
||||
return await invoke("launch_session_terminal", {
|
||||
target,
|
||||
command,
|
||||
cwd,
|
||||
customConfig,
|
||||
|
||||
Reference in New Issue
Block a user