Send files directly between devices over the internet - no cloud storage, no size limits.
TypeScript cross-platformdata-transferdecentralizedfile-sharingfile-transferhole-punchingopen-sourcep2ppeer-to-peerprivacyprivacy-tools
include platform extension in pear OTA app name
Denis Lupookova0d3042e155b
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.ymlindex 733f7ae..43b9b7c 100644--- a/.github/workflows/release-desktop.yml+++ b/.github/workflows/release-desktop.yml@@ -298,23 +298,41 @@ jobs:TARGET="$HOME/altersend-desktop-$VERSION"PKG="$GITHUB_WORKSPACE/apps/desktop/package.json"+ # Each app is staged twice into the same drive: under the extensioned name+ # (AlterSend.app / AlterSend.AppImage) for fixed clients, and under the bare+ # name (AlterSend) so legacy v1.1 installs — which look for+ # /by-arch/<host>/app/AlterSend — can still find the update. Drop the bare+ # alias once the v1.1 fleet is gone.+cp -r /tmp/pear-apps/AlterSend-arm64.app /tmp/pear-apps/AlterSend.apppear-build --package "$PKG" --darwin-arm64-app /tmp/pear-apps/AlterSend.app --target "$TARGET"rm -rf /tmp/pear-apps/AlterSend.app+ cp -r /tmp/pear-apps/AlterSend-arm64.app /tmp/pear-apps/AlterSend+ pear-build --package "$PKG" --darwin-arm64-app /tmp/pear-apps/AlterSend --target "$TARGET"+ rm -rf /tmp/pear-apps/AlterSendcp -r /tmp/pear-apps/AlterSend-x64.app /tmp/pear-apps/AlterSend.apppear-build --package "$PKG" --darwin-x64-app /tmp/pear-apps/AlterSend.app --target "$TARGET"rm -rf /tmp/pear-apps/AlterSend.app+ cp -r /tmp/pear-apps/AlterSend-x64.app /tmp/pear-apps/AlterSend+ pear-build --package "$PKG" --darwin-x64-app /tmp/pear-apps/AlterSend --target "$TARGET"+ rm -rf /tmp/pear-apps/AlterSendAPPIMAGE=$(find /tmp/pear-installers/linux -name "*.AppImage" | head -1)cp "$APPIMAGE" /tmp/AlterSend.AppImagepear-build --package "$PKG" --linux-x64-app /tmp/AlterSend.AppImage --target "$TARGET"rm /tmp/AlterSend.AppImage+ cp "$APPIMAGE" /tmp/AlterSend+ pear-build --package "$PKG" --linux-x64-app /tmp/AlterSend --target "$TARGET"+ rm /tmp/AlterSendAPPIMAGE_ARM=$(find /tmp/pear-installers/linux-arm64 -name "*.AppImage" | head -1)cp "$APPIMAGE_ARM" /tmp/AlterSend.AppImagepear-build --package "$PKG" --linux-arm64-app /tmp/AlterSend.AppImage --target "$TARGET"rm /tmp/AlterSend.AppImage+ cp "$APPIMAGE_ARM" /tmp/AlterSend+ pear-build --package "$PKG" --linux-arm64-app /tmp/AlterSend --target "$TARGET"+ rm /tmp/AlterSend- name: Stage and release to Pear DHTdiff --git a/apps/desktop/src/electron/runtime.ts b/apps/desktop/src/electron/runtime.tsindex 0bceb89..64fc056 100644--- a/apps/desktop/src/electron/runtime.ts+++ b/apps/desktop/src/electron/runtime.ts@@ -116,8 +116,9 @@ export function createDesktopRuntime({ broadcast }: { broadcast: Broadcast }): D: path.join(os.homedir(), 'AppData', 'Local', productName)}+ const extension = isLinux ? '.AppImage' : isMac ? '.app' : '.msix'const instance: PearRuntimeInstance = new PearRuntime({- name: productName,+ name: `${productName}${extension}`,dir,app: appPath,updates,