mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-18 23:22:05 +00:00
fix: subtitles not rendering in portrait fix: notch inset safe areas chore: better code structure for capacitor feat: capacitor AL login
27 lines
556 B
JavaScript
27 lines
556 B
JavaScript
const mode = process.env.NODE_ENV?.trim() || 'development'
|
|
|
|
const config = {
|
|
appId: 'watch.miru',
|
|
appName: 'Miru',
|
|
webDir: 'build',
|
|
bundledWebRuntime: false,
|
|
android: {
|
|
buildOptions: {
|
|
keystorePath: './watch.miru',
|
|
keystorePassword: '',
|
|
keystoreAlias: 'watch.miru'
|
|
}
|
|
},
|
|
plugins: {
|
|
SplashScreen: { launchShowDuration: 0 },
|
|
CapacitorHttp: { enabled: false }
|
|
}
|
|
}
|
|
|
|
if (mode === 'development') {
|
|
config.server = {
|
|
url: 'http://localhost:5001/index.html',
|
|
cleartext: true
|
|
}
|
|
}
|
|
module.exports = config
|