Files
ogame-vue-ts/capacitor.config.ts
2025-12-27 00:12:49 +08:00

29 lines
577 B
TypeScript

import type { CapacitorConfig } from '@capacitor/cli'
const config: CapacitorConfig = {
appId: 'games.wenzi.ogame',
appName: 'OGame Vue Ts',
webDir: 'docs',
server: {
androidScheme: 'https',
cacheControl: 'max-age=31536000'
},
android: {
buildOptions: {
keystorePath: undefined,
keystoreAlias: undefined
},
webContentsDebuggingEnabled: false,
allowMixedContent: false,
hardwareAcceleration: true
},
plugins: {
// 禁用键盘自动调整视口
Keyboard: {
resize: 'none'
}
}
}
export default config