use full window for Commander
This commit is contained in:
+2
-2
@@ -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',
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user