// Auto updates for a flutter app, akin to Discord's. One call at the top of // main and the rest happens on its own: // // Future main(List args) async { // await GarageUpdater.launch( // args: args, // project: "", // build: 12, // label: "v2610-1", // branding: UpdaterBranding(name: "Garage Stash", logo: "assets/logo.png"), // ); // runApp(const MyApp()); // } // // While the app runs, GarageUpdater.instance.ready says when a newer build has // been downloaded, and restartToUpdate() moves over to it. // // On the web every call is a no-op. library; export "src/core/models.dart" show UpdateInfo, UpdateRelease, UpdateAsset, UpdateStatus, UpdateError, UpdateDriver, DownloadProgress; export "src/branding.dart" show UpdaterBranding, UpdateMode; export "src/splash.dart" show UpdateSplash, UpdateSplashApp, SplashController, SplashStage; export "src/updater.dart" show GarageUpdater;