Cap-go / CLI

CLI to help you to manage your version in capgo cloud
https://capgo.app
GNU Affero General Public License v3.0
18 stars 36 forks source link

Selfhosted capgo #125

Closed WcaleNieWolny closed 1 year ago

WcaleNieWolny commented 1 year ago

This PR adds the ability to use the CLI with a selfhosted capgo.

This is required to fix this.

Here is an example config using these changes:

import { CapacitorConfig } from '@capacitor/cli';

const config: CapacitorConfig = {
  appId: 'com.demo.app',
  appName: 'demoApp',
  webDir: 'dist',
  bundledWebRuntime: false,
  plugins: {
    CapacitorUpdater : {
      autoUpdate: true,
      localS3: true,
      localHost: "http://localhost:5173",
      localWebHost: "http://localhost:5173",
      localSupa: "http://localhost:54321",
      localSupaAnon: "[truncated]"
    }
  },
};

export default config;
WcaleNieWolny commented 1 year ago

@riderx Not sure why this is not merged, but right now the docs are incorrect, as changes I made in the docs require this PR

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication