- Added SFTP file management capabilities including list, upload, download, delete, and directory operations. - Integrated SFTP progress callbacks to provide real-time feedback during file transfers. - Updated the UI to include a dedicated SFTP browser and host information panel. - Enhanced the sidebar and title bar with improved styling and animations for a cyberpunk theme. - Refactored host management to support editing and connecting to hosts with a more intuitive interface. - Updated package dependencies to support new features and improve performance.
40 lines
781 B
TypeScript
40 lines
781 B
TypeScript
import { CapacitorConfig } from '@capacitor/cli';
|
|
|
|
const config: CapacitorConfig = {
|
|
appId: 'com.easyshell.app',
|
|
appName: 'EasyShell',
|
|
webDir: 'build',
|
|
server: {
|
|
// 开发时可以指向本地服务器
|
|
// url: 'http://192.168.1.100:3000',
|
|
// cleartext: true,
|
|
androidScheme: 'https',
|
|
},
|
|
plugins: {
|
|
StatusBar: {
|
|
style: 'DARK',
|
|
backgroundColor: '#050810',
|
|
},
|
|
Keyboard: {
|
|
resize: 'body',
|
|
resizeOnFullScreen: true,
|
|
},
|
|
App: {
|
|
// 防止返回键直接退出
|
|
},
|
|
},
|
|
android: {
|
|
allowMixedContent: true,
|
|
backgroundColor: '#050810',
|
|
// 全屏沉浸模式
|
|
// useLegacyBridge: true,
|
|
},
|
|
ios: {
|
|
backgroundColor: '#050810',
|
|
contentInset: 'automatic',
|
|
},
|
|
};
|
|
|
|
export default config;
|
|
|