From 10cb7d63537db40a2ca1a473c0198075d122a652 Mon Sep 17 00:00:00 2001 From: "Mr. Stallion" Date: Sun, 3 Sep 2023 14:09:16 -0700 Subject: [PATCH] minor --- CHANGELOG.md | 1 + electron/release-scripts/linux.sh | 28 ++++++++++++++++++++++++++++ electron/release-scripts/macos.sh | 0 3 files changed, 29 insertions(+) create mode 100755 electron/release-scripts/linux.sh mode change 100644 => 100755 electron/release-scripts/macos.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f0c9b8..2d1b5d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## 1.24.0 +* Added Linux ARM64 build * Channel owners can now add `[ads: 30min]` in the channel description to limit how often Rising auto-posts ads on the channel * Neko/mimi species are now considered human, not anthro * Fixed a bug that prevented the client from occasionally recognizing gender preferences diff --git a/electron/release-scripts/linux.sh b/electron/release-scripts/linux.sh new file mode 100755 index 0000000..85b036d --- /dev/null +++ b/electron/release-scripts/linux.sh @@ -0,0 +1,28 @@ +#!/bin/bash -ex + +if [ -z "${1}" ] +then + echo "Usage: ${0} RELEASE_VERSION" +fi + +RELEASE_VERSION="${1}" +RELEASE_PATH="${HOME}/fchat-rising-dist/${RELEASE_VERSION}" +DIST_PATH="${HOME}/fchat-rising/electron/dist/downloaded" + +cd "${HOME}/fchat-rising" +git checkout master +git pull +yarn + +mkdir -p "${RELEASE_PATH}" +rm -rf "${DIST_PATH}" + +cd electron +yarn build:dist +node pack.js + +cp "${DIST_PATH}/fchat.arm64.AppImage" "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-linux-arm64.AppImage" +cp "${DIST_PATH}/fchat.arm64.AppImage.zsync" "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-linux-arm64.AppImage.zsync" + +cp "${DIST_PATH}/fchat.x64.AppImage" "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-linux-x64.AppImage" +cp "${DIST_PATH}/fchat.x64.AppImage.zsync" "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-linux-x64.AppImage.zsync" diff --git a/electron/release-scripts/macos.sh b/electron/release-scripts/macos.sh old mode 100644 new mode 100755