跳过内容

__CAPGO_KEEP_0__ path

Updater GitHub repository

import { LinkCard, CardGrid, Aside } from ‘@astrojs/starlight/components’;

Capacitor 是本更新器部分中记录的主要路径,但 Capgo 也为 电子。每个插件都使用相同的 Capgo 云后端、频道、打包签名和 @capgo/cli 上传流程。

Cordova

Cordova

@capgo/cordova-updater 模仿 @capgo/capacitor-updater JavaScript API cordova plugin add,调用 cordova.plugins.Updater.notifyAppReady() 之后 deviceready, and upload bundles the same way you would for Capacitor.

不要将插件与 cordova-plugin-ionic-webview

Electron

Electron

@capgo/electron-updater 带来桌面应用程序相同的实时更新模型。 在 Electron 主进程中初始化更新器,暴露预加载桥,通过 __CAPGO_KEEP_0__ Renderer 调用,并从相同的 __CAPGO_KEEP_0__ 面板管理发布。 notifyAppReady() from the renderer, and manage releases from the same Capgo dashboard you use for mobile.

Capacitor 更新器文档