@gjermundgaraba/upup 0.4.0 → 0.5.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/README.md +1 -1
- package/dist/grep-worker.mjs +1 -1
- package/dist/{io-BGJ4Yp7u.mjs → io-ns6xhFdF.mjs} +5 -1
- package/dist/main.mjs +407 -361
- package/native/dist/upup-sparkle.json +1 -1
- package/native/dist/upup-sparkle.zip +0 -0
- package/package.json +17 -19
package/README.md
CHANGED
|
@@ -130,6 +130,6 @@ vp pack
|
|
|
130
130
|
|
|
131
131
|
`vp run sparkle` builds upup-sparkle (`native/sparkle`) on macOS, with Xcode's command line tools, into `native/dist`, signed ad hoc unless `UPUP_SIGNING_IDENTITY` names a signing identity, and notarized when `UPUP_NOTARY_KEY` (an App Store Connect API key's .p8 file), `UPUP_NOTARY_KEY_ID` and `UPUP_NOTARY_ISSUER` are set; and then starts it as upup would; the release workflow signs and notarizes it with a Developer ID, and starts it only once its signing identity and notary key are gone. `vp run sparkle:e2e` builds it and installs updates of a fixture app through it, from an appcast served on this Mac.
|
|
132
132
|
|
|
133
|
-
`vp run
|
|
133
|
+
`vp run install:local` installs this checkout as a global package, as the release publishes it: on macOS it builds upup-sparkle signed with the `Apple Development` identity in your keychain, or the one `UPUP_SIGNING_IDENTITY` names, notarized only when the notary variables above are set, and starts it as upup would; then it builds the package, packs it and installs the tarball with `vp install -g`. A helper signed by any team updates Sparkle apps that ship installer packages, which one signed ad hoc can't.
|
|
134
134
|
|
|
135
135
|
The Go implementation lives in history at `d2a5ed7`.
|
package/dist/grep-worker.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as openFlags, r as reason } from "./io-ns6xhFdF.mjs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { closeSync, fstatSync, openSync, readSync, readdirSync } from "node:fs";
|
|
4
4
|
import { parentPort } from "node:worker_threads";
|
|
@@ -15,5 +15,9 @@ const reason = (cause) => {
|
|
|
15
15
|
const code = cause instanceof Error && "code" in cause && Predicate.isString(cause.code) ? cause.code : void 0;
|
|
16
16
|
return code === void 0 ? "I/O error" : reasons.get(code) ?? code;
|
|
17
17
|
};
|
|
18
|
+
const byName = (left, right) => {
|
|
19
|
+
if (left.name < right.name) return -1;
|
|
20
|
+
return left.name > right.name ? 1 : 0;
|
|
21
|
+
};
|
|
18
22
|
const openFlags = constants.O_RDONLY | constants.O_NONBLOCK | constants.O_NOFOLLOW;
|
|
19
|
-
export {
|
|
23
|
+
export { openFlags as n, reason as r, byName as t };
|