bitterbot 1.9.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bitterbot.mjs +3 -3
- package/package.json +1 -1
package/bitterbot.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// bitterbot 1.
|
|
2
|
+
// bitterbot 1.10.1 launcher: installs the signed release tarball on
|
|
3
3
|
// first run, then runs it. Source: src/launcher/ in
|
|
4
4
|
// https://github.com/Bitterbot-AI/bitterbot-desktop (built by scripts/npm-package.ts).
|
|
5
5
|
|
|
@@ -77,7 +77,7 @@ import fs2 from "node:fs";
|
|
|
77
77
|
import fsp from "node:fs/promises";
|
|
78
78
|
import os from "node:os";
|
|
79
79
|
import path2 from "node:path";
|
|
80
|
-
var VERSION_DIR_RE = /^\d+\.\d+\.\d
|
|
80
|
+
var VERSION_DIR_RE = /^\d+\.\d+\.\d+(?:-beta\.[1-9]\d*)?$(?![\s\S])/;
|
|
81
81
|
var CURRENT_LINK = "current";
|
|
82
82
|
var PREVIOUS_LINK = "previous";
|
|
83
83
|
function defaultTarballAppDir(homedir = os.homedir()) {
|
|
@@ -1739,7 +1739,7 @@ function launcherFile() {
|
|
|
1739
1739
|
return null;
|
|
1740
1740
|
}
|
|
1741
1741
|
}
|
|
1742
|
-
var version = true ? "1.
|
|
1742
|
+
var version = true ? "1.10.1" : "0.0.0";
|
|
1743
1743
|
runLauncher({
|
|
1744
1744
|
argv: process.argv.slice(2),
|
|
1745
1745
|
env: process.env,
|