capacitor.config.ts 673 B

12345678910111213141516171819202122232425
  1. import { CapacitorConfig } from '@capacitor/cli';
  2. const config: CapacitorConfig = {
  3. appId: 'com.logseq.app',
  4. appName: 'Logseq',
  5. bundledWebRuntime: false,
  6. webDir: 'public',
  7. plugins: {
  8. SplashScreen: {
  9. launchShowDuration: 3000,
  10. launchAutoHide: false,
  11. androidScaleType: "CENTER_CROP",
  12. splashImmersive: true,
  13. backgroundColor: "#002b36"
  14. },
  15. }
  16. // do not commit this into source control
  17. // source: https://capacitorjs.com/docs/guides/live-reload
  18. // , server: {
  19. // url: process.env.LOGSEQ_APP_SERVER_URL,
  20. // cleartext: true
  21. // }
  22. };
  23. export = config;