use full window for Commander

This commit is contained in:
FTCHD
2026-08-20 18:40:16 +03:00
parent 4fbda90b62
commit b5be41d25a
+2 -2
View File
@@ -9,7 +9,7 @@ import { platform } from '@tauri-apps/plugin-os'
import { exit } from '@tauri-apps/plugin-process' import { exit } from '@tauri-apps/plugin-process'
import { usePersistedStore } from '../store/persisted' import { usePersistedStore } from '../store/persisted'
import { CLOSE_APP, emitToMain } from './events' import { CLOSE_APP, emitToMain } from './events'
import { openWindow } from './window' import { openFullWindow, openWindow } from './window'
async function buildMenu() { async function buildMenu() {
console.log('[buildMenu]') console.log('[buildMenu]')
@@ -65,7 +65,7 @@ async function buildMenu() {
id: 'commander', id: 'commander',
text: 'Commander', text: 'Commander',
action: async () => { action: async () => {
await openWindow({ await openFullWindow({
name: 'Commander', name: 'Commander',
url: '/commander', url: '/commander',
}) })