Speed up downloads by combining multiple network connections in parallel
TypeScript bandwidth-aggregationcross-platformdesktop-appdownloaderdownloadmanagerlinuxmacosmulticonnectionparallel-downloadswindows
Sign the Mac build with electron-builder 26.16.1, verify it, and credit the signing (#109)
Anmol Kapil1ecbdf656863
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 9a08eae..7dcd9d3 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -2,9 +2,13 @@ name: Release# Pushing a version tag (git tag v1.0.0-rc.15 && git push origin v1.0.0-rc.15) builds every OS# and leaves a draft GitHub Release. Apps only see it once the draft is published.+#+# Run by hand (gh workflow run release.yml --ref <branch>) it's a dry run: the same builds, signed+# the same way, and no release.on:push:tags: ['v*']+ workflow_dispatch:permissions:contents: write@@ -33,6 +37,7 @@ jobs:# The tag names the version the build gets; a mismatch would ship one version as another. The# changelog entry becomes the release notes. Both are checked before the long build.- name: Check the tag matches package.json and has a changelog entry+ if: github.event_name == 'push'shell: bashrun: |test "v$(node -p "require('./package.json').version")" = "$GITHUB_REF_NAME"@@ -46,8 +51,10 @@ jobs:run: npm ci# Without the certificate secrets the Mac build is unsigned, and can't update itself; without- # the API key ones it's signed but not notarized. Exported on the Mac only: electron-builder- # would otherwise sign Windows with CSC_LINK too.+ # the API key ones it's signed but not notarized. electron-builder's own CSC_LINK import, as+ # documented; it needs 26.16.1+, before which it unlocked its keychain with the wrong password+ # (electron-userland/electron-builder#10101). Exported on the Mac only: Windows would+ # otherwise try to sign with CSC_LINK too.- name: Buildshell: bashenv:@@ -57,7 +64,9 @@ jobs:APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}run: |+ signed=if [ "$RUNNER_OS" = macOS ] && [ -n "$MAC_CERTIFICATE_P12_BASE64" ]; then+ signed=1export CSC_LINK="$MAC_CERTIFICATE_P12_BASE64" CSC_KEY_PASSWORD="$MAC_CERTIFICATE_PASSWORD"fiif [ "$RUNNER_OS" = macOS ] && [ -n "$APPLE_API_KEY_P8" ]; then@@ -66,6 +75,15 @@ jobs:finpm run buildnpx electron-builder ${{ matrix.target }} --publish never+ # electron-builder builds unsigned, quietly, when it finds no identity; such a build could+ # never install an update over a signed one.+ if [ -n "$signed" ]; then+ for app in dist/mac/Plexo.app dist/mac-arm64/Plexo.app; do+ codesign --verify --deep --strict "$app"+ # -dvv: plain -dv leaves the Authority lines out.+ codesign -dvv "$app" 2>&1 | grep "^Authority=Developer ID Application" > /dev/null+ done+ fi- uses: actions/upload-artifact@v4with:@@ -82,6 +100,7 @@ jobs:if-no-files-found: errorrelease:+ if: github.event_name == 'push'needs: buildruns-on: ubuntu-lateststeps:diff --git a/README.md b/README.mdindex 8382fd2..4e4dafd 100644--- a/README.md+++ b/README.md@@ -10,10 +10,12 @@ https://github.com/user-attachments/assets/e57728f4-fb63-441f-839c-174eef954b17Get the installer for your computer from [getplexo.app](https://getplexo.app/#downloads), or pick a file from [GitHub Releases](https://github.com/anmolkapil/plexo/releases). Builds are available for macOS (Apple silicon and Intel), Windows 10 and 11 (x64 and ARM64), and Linux (AppImage and `.deb`, x86_64 and ARM64).-Plexo isn't code-signed yet, so the first launch needs one extra step:+The first launch needs one extra step:-- **macOS** says Plexo is damaged: move it to Applications, run `xattr -dr com.apple.quarantine /Applications/Plexo.app` in Terminal, and open it again-- **Windows** shows "Windows protected your PC": click **More info**, then **Run anyway**+- **macOS** says "Apple cannot check 'Plexo' for malicious software": click **Done**, then open **System Settings → Privacy & Security** and click **Open Anyway**. The Mac app is signed with an Apple Developer ID (see [Credits](#credits)) but not yet notarized by Apple. Or move it to Applications, run `xattr -dr com.apple.quarantine /Applications/Plexo.app` in Terminal, and open it again.+- **Windows** shows "Windows protected your PC": click **More info**, then **Run anyway**. The installer isn't code-signed yet.++Plexo updates itself after that: new versions download in the background and install when you restart.## What Plexo does@@ -210,6 +212,12 @@ If Plexo is useful to you:- [Report a bug or suggest a feature](https://github.com/anmolkapil/plexo/issues)- [Sponsor development](https://github.com/sponsors/anmolkapil)+## Credits++Plexo is developed by [Anmol Kapil](https://github.com/anmolkapil).++macOS code signing is provided by [Dhananjay Bhosale](https://github.com/DhananjayBhosale): the Mac app is signed with his Apple Developer ID, so macOS shows his name as its developer.+## LicenseMIT. See [LICENSE](LICENSE).diff --git a/build/entitlements.mac.plist b/build/entitlements.mac.plistindex 38c887b..55f37a6 100644--- a/build/entitlements.mac.plist+++ b/build/entitlements.mac.plist@@ -6,7 +6,5 @@<true/><key>com.apple.security.cs.allow-unsigned-executable-memory</key><true/>- <key>com.apple.security.cs.allow-dyld-environment-variables</key>- <true/></dict></plist>diff --git a/docs/downloads.js b/docs/downloads.jsindex b8503e6..3124f85 100644--- a/docs/downloads.js+++ b/docs/downloads.js@@ -13,18 +13,18 @@var OS_ORDER = ['mac', 'win', 'linux']var OS_LABEL = { mac: 'macOS', win: 'Windows', linux: 'Linux' }- // What an unsigned build makes the OS say on first launch, and the way past it: under the+ // What a build that isn't notarized (macOS) or signed (Windows) makes the OS say on first+ // launch, and the way past it: under the// download button for the visitor's own OS, and with every other OS's downloads.// `code` in backticks, **button names** in stars.var MAC_COMMAND = 'xattr -dr com.apple.quarantine /Applications/Plexo.app'var FIRST_LAUNCH = {mac: {system: 'macOS',- warning: 'Plexo is damaged and can’t be opened',- fix: 'It isn’t damaged, just not signed by Apple yet. Drag Plexo into **Applications**, then run this once in **Terminal** and open it again:',+ warning: 'Apple cannot check “Plexo” for malicious software',+ fix: 'Plexo is signed, just not notarized by Apple yet. Click **Done**, choose **Open Anyway** in System Settings → Privacy & Security, and open it again. Or drag Plexo into **Applications**, then run this once in **Terminal**:',command: MAC_COMMAND,- aside:- 'Says it can’t verify Plexo instead? Choose **Open Anyway** in System Settings → Privacy & Security.'+ aside: null},win: {system: 'Windows',@@ -303,8 +303,9 @@out.push('')})out.push(- '**macOS says Plexo is damaged?** It isn’t: Plexo isn’t signed yet. Move it to Applications, ' +- 'run `' ++ '**macOS says Apple cannot check Plexo?** Plexo is signed, just not notarized by Apple yet. ' ++ 'Click Done, choose Open Anyway in System Settings → Privacy & Security, and open it again. ' ++ 'Or move it to Applications, run `' +MAC_COMMAND +'` in Terminal, and open it again.','',diff --git a/docs/index.html b/docs/index.htmlindex 461a99a..dcc5309 100644--- a/docs/index.html+++ b/docs/index.html@@ -2398,11 +2398,13 @@color: #a1a1a8;">- Plexo isn't code-signed yet, so macOS and Windows may show a security warning the- first time you open it. Follow the first-launch steps under Downloads for your- system. You only need to do this once, and the full source code is available on- GitHub. Code-signing licenses cost money; if you'd like to help remove these- warnings, consider+ The Mac app is signed with an Apple Developer ID provided by+ <a href="https://github.com/DhananjayBhosale">Dhananjay Bhosale</a>, but isn't+ notarized by Apple yet, and the Windows installer isn't code-signed yet, so both+ may show a security warning the first time you open Plexo. Follow the first-launch+ steps under Downloads for your system. You only need to do this once, and the full+ source code is available on GitHub. Code-signing licenses cost money; if you'd+ like to help remove these warnings, consider<a href="https://github.com/sponsors/anmolkapil">sponsoring Plexo</a> so theproject can cover them.</p>diff --git a/docs/landing.js b/docs/landing.jsindex afdf5a9..c4f9cac 100644--- a/docs/landing.js+++ b/docs/landing.js@@ -78,14 +78,14 @@const installGuides = {mac: {title: 'Opening Plexo for the first time on macOS',- why: 'Plexo isn’t signed with an Apple Developer ID yet, so macOS blocks it the first time you open it. You only need to allow it once.',+ why: 'Plexo is signed with an Apple Developer ID but not notarized by Apple yet, so macOS asks you to allow it the first time you open it. You only need to do this once.',steps: [['Open the .dmg and drag **Plexo** into your **Applications** folder.'],['Open Plexo. When macOS says it can’t verify the app, click **Done**.'],['Open **System Settings → Privacy & Security**, then click **Open Anyway**.']],fix: [- 'Seeing “Plexo is damaged and can’t be opened”? Run this in Terminal, then open Plexo again:',+ 'Still won’t open? Run this in Terminal, then open Plexo again:','xattr -cr /Applications/Plexo.app']},diff --git a/electron-builder.yml b/electron-builder.ymlindex fc2251e..95f3cde 100644--- a/electron-builder.yml+++ b/electron-builder.yml@@ -1,5 +1,7 @@appId: com.plexo.appproductName: Plexo+# Shown in the macOS About window and Finder's Get Info, and in the Windows file properties.+copyright: Copyright © 2026 Anmol KapilafterPack: scripts/check-torrent-package.mjsdirectories:buildResources: builddiff --git a/package-lock.json b/package-lock.jsonindex 20cf616..84ee20f 100644--- a/package-lock.json+++ b/package-lock.json@@ -37,7 +37,7 @@"@types/react-dom": "^19.2.3","@vitejs/plugin-react": "^5.1.1","electron": "^44.4.4",- "electron-builder": "^26.0.12",+ "electron-builder": "^26.16.1","electron-vite": "^5.0.0","eslint": "^9.39.1","eslint-plugin-react": "^7.37.5",@@ -525,9 +525,9 @@"license": "MIT"},"node_modules/@electron/asar/node_modules/brace-expansion": {- "version": "1.1.18",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz",- "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",+ "version": "1.1.21",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz",+ "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==","dev": true,"license": "MIT","dependencies": {@@ -579,29 +579,6 @@"node": ">=10"}},- "node_modules/@electron/fuses/node_modules/jsonfile": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",- "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "universalify": "^2.0.0"- },- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },- "node_modules/@electron/fuses/node_modules/universalify": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 10.0.0"- }- },"node_modules/@electron/get": {"version": "5.1.0","resolved": "https://registry.npmjs.org/@electron/get/-/get-5.1.0.tgz",@@ -687,29 +664,6 @@"node": ">=10"}},- "node_modules/@electron/notarize/node_modules/jsonfile": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",- "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "universalify": "^2.0.0"- },- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },- "node_modules/@electron/notarize/node_modules/universalify": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 10.0.0"- }- },"node_modules/@electron/osx-sign": {"version": "1.3.3","resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.3.3.tgz",@@ -746,9 +700,9 @@}},"node_modules/@electron/rebuild": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/@electron/rebuild/-/rebuild-4.2.0.tgz",- "integrity": "sha512-RKL/O+jGoXJMxrx/5771y1n0xTKmFuOYGO3gMmwypBM6rsH0kou0mswwdXA2JrhIkE4xyC7v9vGk0n6NPzgOxQ==",+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/@electron/rebuild/-/rebuild-4.2.1.tgz",+ "integrity": "sha512-IS4pG3BysRrCLJ8xTAfvg+IQDbiUoAzdJy2SfjcYKnLDy5DpCdjnPdhS5Zf5UMfrkB24xu0KC+TqcOxg+eG+6w==","dev": true,"license": "MIT","dependencies": {@@ -793,9 +747,9 @@"license": "MIT"},"node_modules/@electron/universal/node_modules/brace-expansion": {- "version": "2.1.4",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",- "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",+ "version": "2.1.7",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz",+ "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==","dev": true,"license": "MIT","dependencies": {@@ -803,9 +757,9 @@}},"node_modules/@electron/universal/node_modules/fs-extra": {- "version": "11.4.0",- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.0.tgz",- "integrity": "sha512-EQsFzMUJkCKGr1ePqlYADkIUmHW1s3ZXr5Yqy6wbGrfUCphpl2maM/kyOIRA2HpP3AaFQTZXD4ldjek+nccddA==",+ "version": "11.4.1",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.1.tgz",+ "integrity": "sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==","dev": true,"license": "MIT","dependencies": {@@ -817,19 +771,6 @@"node": ">=14.14"}},- "node_modules/@electron/universal/node_modules/jsonfile": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",- "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "universalify": "^2.0.0"- },- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },"node_modules/@electron/universal/node_modules/minimatch": {"version": "9.0.9","resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",@@ -846,16 +787,6 @@"url": "https://github.com/sponsors/isaacs"}},- "node_modules/@electron/universal/node_modules/universalify": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 10.0.0"- }- },"node_modules/@electron/windows-sign": {"version": "1.2.2","resolved": "https://registry.npmjs.org/@electron/windows-sign/-/windows-sign-1.2.2.tgz",@@ -879,9 +810,9 @@}},"node_modules/@electron/windows-sign/node_modules/fs-extra": {- "version": "11.4.0",- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.0.tgz",- "integrity": "sha512-EQsFzMUJkCKGr1ePqlYADkIUmHW1s3ZXr5Yqy6wbGrfUCphpl2maM/kyOIRA2HpP3AaFQTZXD4ldjek+nccddA==",+ "version": "11.4.1",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.1.tgz",+ "integrity": "sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==","dev": true,"license": "MIT","optional": true,@@ -895,33 +826,6 @@"node": ">=14.14"}},- "node_modules/@electron/windows-sign/node_modules/jsonfile": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",- "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",- "dev": true,- "license": "MIT",- "optional": true,- "peer": true,- "dependencies": {- "universalify": "^2.0.0"- },- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },- "node_modules/@electron/windows-sign/node_modules/universalify": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",- "dev": true,- "license": "MIT",- "optional": true,- "peer": true,- "engines": {- "node": ">= 10.0.0"- }- },"node_modules/@esbuild/aix-ppc64": {"version": "0.25.12","resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz",@@ -1829,29 +1733,6 @@"node": ">=10"}},- "node_modules/@malept/flatpak-bundler/node_modules/jsonfile": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",- "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "universalify": "^2.0.0"- },- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },- "node_modules/@malept/flatpak-bundler/node_modules/universalify": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 10.0.0"- }- },"node_modules/@napi-rs/lzma-linux-x64-gnu": {"version": "1.5.1","resolved": "https://registry.npmjs.org/@napi-rs/lzma-linux-x64-gnu/-/lzma-linux-x64-gnu-1.5.1.tgz",@@ -1870,22 +1751,22 @@}},"node_modules/@noble/hashes": {- "version": "2.4.0",- "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.4.0.tgz",- "integrity": "sha512-X5XaVWZIBCT7HHZGm5I7ZQXDwLG+bGXuSrMQAW+7Zvl87h1kmc1ZB1VSRJcpUfoUrGQp4Fkoxm5kZ+Ms+aW+eA==",+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==","dev": true,"license": "MIT","engines": {- "node": ">= 20.19.0"+ "node": "^14.21.3 || >=16"},"funding": {"url": "https://paulmillr.com/funding/"}},"node_modules/@peculiar/asn1-schema": {- "version": "2.9.4",- "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.9.4.tgz",- "integrity": "sha512-GjzePcT9Iw8NzeOPf73iNS9xM+TBhd/FilAfP+RQGkTMQJTVWtytN3JHJACCjf/ABNau5S7mS3g+DcuxmRgYEg==",+ "version": "2.10.0",+ "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.10.0.tgz",+ "integrity": "sha512-GhokD41lV4gQrrLYm3wCkHfBOnJrnhDMgt4XeMW8gzfE1UdJqIuSwsE+ggf82XBjUXRJylcm+KIGQFa4utIVLw==","dev": true,"license": "MIT","dependencies": {@@ -3351,9 +3232,9 @@}},"node_modules/app-builder-lib": {- "version": "26.15.3",- "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-26.15.3.tgz",- "integrity": "sha512-2VnyWkqsP5v5XbBhL3tD5Syx8iNPBYsoU7kY4S2fz7wg8Rj/nztWKCUzGKaFRTv0Xwf3/H058CR1Kvtd/3lRow==",+ "version": "26.16.1",+ "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-26.16.1.tgz",+ "integrity": "sha512-FhaO6YOup01ZfQW0Z6gt3AyukJjv1gW4uFK47jTgwcHZKqyN/fSlK2LqPf9tAeZYLP2bRJLDzeOkRImsw2X4Pg==","dev": true,"license": "MIT","dependencies": {@@ -3365,13 +3246,13 @@"@electron/rebuild": "^4.0.4","@electron/universal": "2.0.3","@malept/flatpak-bundler": "^0.4.0",- "@noble/hashes": "^2.2.0",+ "@noble/hashes": "^1.8.0","@peculiar/webcrypto": "^1.7.1","@types/fs-extra": "9.0.13","ajv": "^8.18.0","asn1js": "^3.0.10","async-exit-hook": "^2.0.1",- "builder-util": "26.15.3",+ "builder-util": "26.16.0","builder-util-runtime": "9.7.0","chromium-pickle-js": "^0.2.0","ci-info": "4.3.1",@@ -3379,7 +3260,7 @@"dotenv": "^16.4.5","dotenv-expand": "^11.0.6","ejs": "^3.1.8",- "electron-publish": "26.15.3",+ "electron-publish": "26.16.0","fs-extra": "^10.1.0","hosted-git-info": "^4.1.0","isbinaryfile": "^5.0.0",@@ -3403,8 +3284,8 @@"node": ">=14.0.0"},"peerDependencies": {- "dmg-builder": "26.15.3",- "electron-builder-squirrel-windows": "26.15.3"+ "dmg-builder": "26.16.1",+ "electron-builder-squirrel-windows": "26.16.1"}},"node_modules/app-builder-lib/node_modules/@electron/get": {@@ -3470,6 +3351,16 @@"node": ">=8"}},+ "node_modules/app-builder-lib/node_modules/jsonfile": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",+ "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==",+ "dev": true,+ "license": "MIT",+ "optionalDependencies": {+ "graceful-fs": "^4.1.6"+ }+ },"node_modules/app-builder-lib/node_modules/semver": {"version": "7.7.4","resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",@@ -3483,6 +3374,16 @@"node": ">=10"}},+ "node_modules/app-builder-lib/node_modules/universalify": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 4.0.0"+ }+ },"node_modules/argparse": {"version": "2.0.1","resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",@@ -4245,9 +4146,9 @@}},"node_modules/builder-util": {- "version": "26.15.3",- "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-26.15.3.tgz",- "integrity": "sha512-q2hn7Mbo2nFNkVekPiHFx6Nfo3hURmES3tfBn+k5Pqxl2RkmP3QGqZUhH/q9Pch/4G05NRhPjDlVj1O8q4Txvw==",+ "version": "26.16.0",+ "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-26.16.0.tgz",+ "integrity": "sha512-RLyJhB7Si3YkzKR9ubQslWuXW3Vhs3CGe1i+SeixBZ0qTd1mk3XBmssvY22TlB6CS5blyko8Gu1JzpYk8UkYAg==","dev": true,"license": "MIT","dependencies": {@@ -5054,9 +4955,9 @@"license": "MIT"},"node_modules/dir-compare/node_modules/brace-expansion": {- "version": "1.1.18",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz",- "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",+ "version": "1.1.21",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz",+ "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==","dev": true,"license": "MIT","dependencies": {@@ -5078,14 +4979,14 @@}},"node_modules/dmg-builder": {- "version": "26.15.3",- "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-26.15.3.tgz",- "integrity": "sha512-O3zJUFUYHJKgzPqioHxfxzBzlSC1eXCSr79gMSBKBP5AgjjpmrydMsMLotEg9fAJF36vdUncb+4ndRNxoPdlSQ==",+ "version": "26.16.1",+ "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-26.16.1.tgz",+ "integrity": "sha512-pnI/3Qb24Uk+rMTgIUrsVUKosVgwmBUdF8Zeb8TexOSbpq8MWc7v6l+n+FrEqVkjNZwzBN+XpDS9ENgZ/rkWAw==","dev": true,"license": "MIT","dependencies": {- "app-builder-lib": "26.15.3",- "builder-util": "26.15.3",+ "app-builder-lib": "26.16.1",+ "builder-util": "26.16.0","fs-extra": "^10.1.0","js-yaml": "^4.1.0"}@@ -5192,18 +5093,18 @@}},"node_modules/electron-builder": {- "version": "26.15.3",- "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-26.15.3.tgz",- "integrity": "sha512-a1KM5heqS3gQCZzizXEI8RjJy3QVogULPdeSknt76uLDpBIW/HDGsMg/XgP0riP6PI9COsRvFITKKGDqA8fJxA==",+ "version": "26.16.1",+ "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-26.16.1.tgz",+ "integrity": "sha512-LrLK65QX5PUYYODXqp23FKrV7CILTtVY7mrJckNknO9jLNSMiqFkKbSMiDRw4CjOADMPVDdWLxY4mezOZWswxg==","dev": true,"license": "MIT","dependencies": {- "app-builder-lib": "26.15.3",- "builder-util": "26.15.3",+ "app-builder-lib": "26.16.1",+ "builder-util": "26.16.0","builder-util-runtime": "9.7.0","chalk": "^4.1.2","ci-info": "^4.2.0",- "dmg-builder": "26.15.3",+ "dmg-builder": "26.16.1","fs-extra": "^10.1.0","lazy-val": "^1.0.5","simple-update-notifier": "2.0.0",@@ -5218,28 +5119,28 @@}},"node_modules/electron-builder-squirrel-windows": {- "version": "26.15.3",- "resolved": "https://registry.npmjs.org/electron-builder-squirrel-windows/-/electron-builder-squirrel-windows-26.15.3.tgz",- "integrity": "sha512-Jc19XPV9y9+2bAdZPkXuVNGNIEFBq9poHC61l8Kv6FdK7DRG3+Ic0rerC0DXOaeHNz8yW0fg/JnF8GQROOF5MA==",+ "version": "26.16.1",+ "resolved": "https://registry.npmjs.org/electron-builder-squirrel-windows/-/electron-builder-squirrel-windows-26.16.1.tgz",+ "integrity": "sha512-w0y44wSaT1l6R7CAGmeHn4nHPfvzDyCAU1xJyi1w9SbPYJpYn76SmHDzqHf8Y7l91cPWTdPYBpGQtB2T5mJ08A==","dev": true,"license": "MIT","peer": true,"dependencies": {- "app-builder-lib": "26.15.3",- "builder-util": "26.15.3",+ "app-builder-lib": "26.16.1",+ "builder-util": "26.16.0","electron-winstaller": "5.4.0"}},"node_modules/electron-publish": {- "version": "26.15.3",- "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-26.15.3.tgz",- "integrity": "sha512-g/2bn8YTavY4cuS5F+jOS7zmZbXXBV8KZ8yHKfJjFPoKtzBqrpCdNPxBd3tqdBwP7BVd0lGzf7Bk2s0KesWZ4Q==",+ "version": "26.16.0",+ "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-26.16.0.tgz",+ "integrity": "sha512-Vt3KzQIiw9BImvNOYtndg9Mjki+tl4+1sQiC/+G5j8khWaENOJFWodiB+sUl6yyHwtd37avehskdtPw7f8y/+Q==","dev": true,"license": "MIT","dependencies": {"@types/fs-extra": "^9.0.11","aws4": "^1.13.2",- "builder-util": "26.15.3",+ "builder-util": "26.16.0","builder-util-runtime": "9.7.0","chalk": "^4.1.2","form-data": "^4.0.5",@@ -5351,6 +5252,28 @@"node": ">=6 <7 || >=8"}},+ "node_modules/electron-winstaller/node_modules/jsonfile": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",+ "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "optionalDependencies": {+ "graceful-fs": "^4.1.6"+ }+ },+ "node_modules/electron-winstaller/node_modules/universalify": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",+ "dev": true,+ "license": "MIT",+ "peer": true,+ "engines": {+ "node": ">= 4.0.0"+ }+ },"node_modules/electron/node_modules/@types/node": {"version": "24.13.6","resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.6.tgz",@@ -6175,9 +6098,9 @@"license": "MIT"},"node_modules/fast-uri": {- "version": "3.1.7",- "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.7.tgz",- "integrity": "sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==",+ "version": "3.1.8",+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz",+ "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==","dev": true,"funding": [{@@ -6263,9 +6186,9 @@"license": "MIT"},"node_modules/filelist/node_modules/brace-expansion": {- "version": "2.1.4",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz",- "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==",+ "version": "2.1.7",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz",+ "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==","dev": true,"license": "MIT","dependencies": {@@ -6460,27 +6383,6 @@"node": ">=12"}},- "node_modules/fs-extra/node_modules/jsonfile": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",- "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",- "license": "MIT",- "dependencies": {- "universalify": "^2.0.0"- },- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },- "node_modules/fs-extra/node_modules/universalify": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",- "license": "MIT",- "engines": {- "node": ">= 10.0.0"- }- },"node_modules/fs-native-extensions": {"version": "1.5.1","resolved": "https://registry.npmjs.org/fs-native-extensions/-/fs-native-extensions-1.5.1.tgz",@@ -6731,9 +6633,9 @@"license": "MIT"},"node_modules/glob/node_modules/brace-expansion": {- "version": "1.1.18",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz",- "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",+ "version": "1.1.21",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz",+ "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==","dev": true,"license": "MIT","dependencies": {@@ -7007,9 +6909,9 @@"license": "ISC"},"node_modules/http-cache-semantics": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz",- "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==",+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz",+ "integrity": "sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA==","dev": true,"license": "BSD-2-Clause"},@@ -7878,11 +7780,13 @@}},"node_modules/jsonfile": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",- "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==",- "dev": true,+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",+ "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==","license": "MIT",+ "dependencies": {+ "universalify": "^2.0.0"+ },"optionalDependencies": {"graceful-fs": "^4.1.6"}@@ -8725,9 +8629,9 @@}},"node_modules/node-abi": {- "version": "4.35.0",- "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-4.35.0.tgz",- "integrity": "sha512-ymk4aIzxdPopw2giv8Fs1Ec6vybGkjmyxUwVqhkI4MCy2tVfXdkOGGWieWVjL0THgH+7a8lRdevyupoYj3Js/Q==",+ "version": "4.37.0",+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-4.37.0.tgz",+ "integrity": "sha512-O9XXMXLeRHQtvh43NCah3y9N1K69tecOmu8Y5p2ay4iXvtpbQr0VaroJF9EmRVp3vkdoj3qn4IFfX+ZYtC94fw==","dev": true,"license": "MIT","dependencies": {@@ -9404,13 +9308,16 @@"license": "MIT"},"node_modules/pkijs": {- "version": "3.4.0",- "resolved": "https://registry.npmjs.org/pkijs/-/pkijs-3.4.0.tgz",- "integrity": "sha512-emEcLuomt2j03vxD54giVB4SxTjnsqkU692xZOZXHDVoYyypEm+b3jpiTcc+Cf+myooc+/Ly0z01jqeNHVgJGw==",+ "version": "3.4.1",+ "resolved": "https://registry.npmjs.org/pkijs/-/pkijs-3.4.1.tgz",+ "integrity": "sha512-Oo/NZcSWccq8KyoG7gLE9fnltgHns+pNCjCAp/WmjsUySi+sX7y4z4Xqu4fVb42CDHzRPl33fjzT15V1wvcyhA==","dev": true,"license": "BSD-3-Clause",+ "workspaces": [+ "website"+ ],"dependencies": {- "@noble/hashes": "1.4.0",+ "@noble/hashes": "1.8.0","asn1js": "^3.0.6","bytestreamjs": "^2.0.1","pvtsutils": "^1.3.6",@@ -9421,19 +9328,6 @@"node": ">=16.0.0"}},- "node_modules/pkijs/node_modules/@noble/hashes": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz",- "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 16"- },- "funding": {- "url": "https://paulmillr.com/funding/"- }- },"node_modules/playwright": {"version": "1.63.0","resolved": "https://registry.npmjs.org/playwright/-/playwright-1.63.0.tgz",@@ -11512,9 +11406,9 @@}},"node_modules/undici": {- "version": "6.28.1",- "resolved": "https://registry.npmjs.org/undici/-/undici-6.28.1.tgz",- "integrity": "sha512-zWpdTVD54H48CIybL0rWQ3ukpb9d23wM7eH5RtfdmeP70cWHNjtfo7P4vZX+5CoDcO53J4Pu5uXp7lNfjc6DRA==",+ "version": "6.29.0",+ "resolved": "https://registry.npmjs.org/undici/-/undici-6.29.0.tgz",+ "integrity": "sha512-R+RODBqp6i2pPflGdq+xIOUkl+RNfGgHwoinecKu/JCuf2uO06cOKoDbI2P7Dn6KcswdKwrczbU6IYJ6K8X+wg==","dev": true,"license": "MIT","engines": {@@ -11529,13 +11423,12 @@"license": "MIT"},"node_modules/universalify": {- "version": "0.1.2",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",- "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",- "dev": true,+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==","license": "MIT","engines": {- "node": ">= 4.0.0"+ "node": ">= 10.0.0"}},"node_modules/unordered-array-remove": {@@ -11580,29 +11473,6 @@"node": ">=14.14"}},- "node_modules/unzipper/node_modules/jsonfile": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",- "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "universalify": "^2.0.0"- },- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },- "node_modules/unzipper/node_modules/universalify": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 10.0.0"- }- },"node_modules/update-browserslist-db": {"version": "1.3.3","resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.3.tgz",diff --git a/package.json b/package.jsonindex 8495a77..64d90d4 100644--- a/package.json+++ b/package.json@@ -57,7 +57,7 @@"@types/react-dom": "^19.2.3","@vitejs/plugin-react": "^5.1.1","electron": "^44.4.4",- "electron-builder": "^26.0.12",+ "electron-builder": "^26.16.1","electron-vite": "^5.0.0","eslint": "^9.39.1","eslint-plugin-react": "^7.37.5",diff --git a/src/main/index.ts b/src/main/index.tsindex eff6091..4b642ea 100644--- a/src/main/index.ts+++ b/src/main/index.ts@@ -148,6 +148,11 @@ app.whenReady().then(async () => {console.error('[plexo] failed to migrate network-preferences.json', error))+ // The macOS About window (Plexo › About Plexo); its copyright comes from electron-builder.yml.+ app.setAboutPanelOptions({+ credits: 'Developed by Anmol Kapil.\nmacOS code signing provided by Dhananjay Bhosale.'+ })+// Applied before the window is created so the initial background/icon already match —// the saved preference otherwise only takes effect on the next 'updated' event.nativeTheme.themeSource = await loadThemeSource()