release_updater 1.0.0 copy "release_updater: ^1.0.0" to clipboard
release_updater: ^1.0.0 copied to clipboard

outdated

A simple way to update release/installation files in a local directory.

example/release_updater_example.dart

import 'dart:io';

import 'package:release_updater/release_updater_io.dart';

void main() async {
  var storage = ReleaseStorageDirectory('appx', Directory('/install/path'));
  var provider =
      ReleaseProviderHttp.baseURL('https://your.domain/appx/releases');

  var releaseUpdater = ReleaseUpdater(storage, provider);

  var version = await releaseUpdater.update();

  print('-- Updated to version: $version');
}
30
likes
0
pub points
49%
popularity

Publisher

unverified uploader

A simple way to update release/installation files in a local directory.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

archive, mercury_client, path, pub_semver

More

Packages that depend on release_updater