初始化 SSH 面板:Electron + React + electron-vite
- 登录页:服务器地址/端口/用户名/密码表单,ssh2 建立真实 SSH 连接 - 面板页:深蓝色顶栏菜单(概览/容器/终端占位),显示当前连接 - 凭据保存:密码经系统安全存储(DPAPI)加密后保存在本机,支持一键填充/删除 - 隐藏 Electron 默认菜单,开发模式 F12 开关开发者工具 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
export default defineConfig({
|
||||
main: {
|
||||
plugins: [externalizeDepsPlugin()],
|
||||
},
|
||||
preload: {
|
||||
plugins: [externalizeDepsPlugin()],
|
||||
},
|
||||
renderer: {
|
||||
plugins: [react()],
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user