@todesktop/runtime
Advanced tools
Comparing version 2.1.0-2 to 2.1.0
@@ -1,1 +0,1 @@ | ||
export declare const CLIENT_VERSION = "2.1.0-2"; | ||
export declare const CLIENT_VERSION = "2.1.0"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CLIENT_VERSION = void 0; | ||
exports.CLIENT_VERSION = "2.1.0-2"; | ||
exports.CLIENT_VERSION = "2.1.0"; |
@@ -7,3 +7,3 @@ { | ||
"name": "@todesktop/runtime", | ||
"version": "2.1.0-2", | ||
"version": "2.1.0", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "author": "ToDesktop <hi@todesktop.com> (https://www.todesktop.com/)", |
# @todesktop/runtime | ||
The [ToDesktop](https://todesktop.com) runtime package which takes care of auto-updating, crash reporting, and more. For more information, see https://todesktop.com/cli. | ||
The [ToDesktop](https://todesktop.com) runtime package which takes care of auto-updating, crash reporting, and more. For more information, see https://todesktop.com/electron. | ||
**Important** | ||
> If you are using this library with **Electron 11 or earlier** then please use version `0.6.5`. | ||
> | ||
> If you are using **Electron 12 or later** then you can use version `1.0.0` or later. | ||
**Table of contents** | ||
@@ -326,4 +320,6 @@ | ||
Specifies a build ID to check for updates against a specific `buildId`. When set, the auto-updater will only update to the specific build ID. If you are already on that build ID then no update will be downloaded. | ||
Specifies a build ID to check for updates against a specific `buildId`. When set, the auto-updater will only update to the specific build ID. | ||
**NOTE:** The version number of the build to update to must be different thant the currently running version. If the version number is the same then no updater will take place. For example, if both builds are version `1.2.3` then no updater will take place. | ||
Example: | ||
@@ -335,3 +331,3 @@ | ||
todesktop.init({ | ||
buildId: "250829if4bj8kqq", // Will update to build 240829if4bj8kqq if it is not the currently running build | ||
buildId: "250829if4bj8kqq", // Will update to build 240829if4bj8kqq if it is not the currently running build and the version number is different | ||
}); | ||
@@ -338,0 +334,0 @@ ``` |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
107157
0
688