AFFiNE/packages/frontend/apps/android/capacitor.config.ts
2024-10-30 12:18:00 +00:00

22 lines
542 B
TypeScript

import { join } from 'node:path';
import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'app.affine.pro',
appName: 'AFFiNE',
webDir: 'dist',
android: {
path: 'App',
buildOptions: {
keystorePath: join(__dirname, 'affine.keystore'),
keystorePassword: process.env.AFFINE_ANDROID_KEYSTORE_PASSWORD,
keystoreAlias: 'key0',
keystoreAliasPassword: process.env.AFFINE_ANDROID_KEYSTORE_ALIAS_PASSWORD,
releaseType: 'AAB',
},
},
};
export default config;