feat: add @mdi/font and electron-devtools-installer dependencies

- Added @mdi/font for Material Design Icons support.
- Included electron-devtools-installer to facilitate Vue DevTools installation in development.

refactor: enhance CreateTemplateScreen layout and functionality

- Improved layout with a responsive design.
- Added functionality for adding directories and files with validation.
- Implemented a file content editor dialog for editing file contents.
- Updated template save logic to handle changes more effectively.

fix: update TemplateListScreen for better UX

- Enhanced template list display with improved card layout.
- Added action buttons for viewing, executing, editing, and deleting templates.
- Improved dialog handling for template details and execution.

chore: update vuetify plugin configuration

- Removed unused icon set configuration.
- Updated locale settings to use simplified Chinese.

style: clean up HeaderLayout and vuetify styles

- Removed commented-out code and unnecessary styles.
- Improved overall styling for better readability and consistency.
This commit is contained in:
zhanggy committed 2025-10-27 18:19:39 +08:00
1 parent 1aecd5f4b6
commit 4f859a4933
8 files changed
+653 -394

No files matched your search

+12
View File
@@ -28,6 +28,18 @@ const initializeMainLogger = () => {
app.on('ready', async () => {
if (Constants.IS_DEV_ENV) {
import('./index.dev')
// Install Vue DevTools
try {
const { default: installExtension, VUEJS_DEVTOOLS } = await import('electron-devtools-installer')
await installExtension(VUEJS_DEVTOOLS, {
loadExtensionOptions: {
allowFileAccess: true,
},
})
} catch (err) {
console.log('Failed to install Vue DevTools: ', err)
}
}
// Disable special menus on macOS by uncommenting the following, if necessary