2024-10-30 15:18:00 +03:00
|
|
|
import { join } from 'node:path';
|
|
|
|
|
2024-10-18 12:30:38 +03:00
|
|
|
import type { CapacitorConfig } from '@capacitor/cli';
|
|
|
|
|
|
|
|
const config: CapacitorConfig = {
|
|
|
|
appId: 'app.affine.pro',
|
|
|
|
appName: 'AFFiNE',
|
|
|
|
webDir: 'dist',
|
|
|
|
android: {
|
|
|
|
path: 'App',
|
2024-10-30 15:18:00 +03:00
|
|
|
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',
|
|
|
|
},
|
2024-10-18 12:30:38 +03:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|