From a3a070a8fb61179bbadde6cd14dc2be43e9ece5e Mon Sep 17 00:00:00 2001 From: "Mr. Stallion" Date: Sun, 3 Sep 2023 14:33:27 -0700 Subject: [PATCH] minor --- electron/pack.js | 2 +- electron/release-scripts/linux.sh | 8 ++++---- electron/release-scripts/macos.sh | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/electron/pack.js b/electron/pack.js index c4a5fde..bb6b963 100644 --- a/electron/pack.js +++ b/electron/pack.js @@ -167,7 +167,7 @@ require('electron-packager')({ fs.symlinkSync(path.join(appPath, 'icon.png'), path.join(appPath, '.DirIcon')); fs.writeFileSync(path.join(appPath, 'fchat.desktop'), '[Desktop Entry]\nName=F-Chat\nExec=AppRun\nIcon=icon\nType=Application\nCategories=GTK;GNOME;Utility;'); - const args = [appPath, `fchat.${appArch}.AppImage`, '-u', `gh-releases-zsync|hearmeneigh|fchat-rising|latest|F-Chat-Rising-*-linux-${appArch}.AppImage.zsync`]; + const args = [appPath, `fchat.${appArch}.AppImage`, '-u', `gh-releases-zsync|hearmeneigh|fchat-rising|latest|F-Chat-Rising-linux-${appArch}.AppImage.zsync`]; if(process.argv.length > 2) { args.push('-s', '--sign-key', process.argv[2]); diff --git a/electron/release-scripts/linux.sh b/electron/release-scripts/linux.sh index 8e81347..c00781b 100755 --- a/electron/release-scripts/linux.sh +++ b/electron/release-scripts/linux.sh @@ -22,8 +22,8 @@ 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.arm64.AppImage" "${RELEASE_PATH}/F-Chat-Rising-linux-arm64.AppImage" +cp "${DIST_PATH}/fchat.arm64.AppImage.zsync" "${RELEASE_PATH}/F-Chat-Rising-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" +cp "${DIST_PATH}/fchat.x64.AppImage" "${RELEASE_PATH}/F-Chat-Rising-linux-x64.AppImage" +cp "${DIST_PATH}/fchat.x64.AppImage.zsync" "${RELEASE_PATH}/F-Chat-Rising-linux-x64.AppImage.zsync" diff --git a/electron/release-scripts/macos.sh b/electron/release-scripts/macos.sh index 4c49258..de091dd 100755 --- a/electron/release-scripts/macos.sh +++ b/electron/release-scripts/macos.sh @@ -22,10 +22,10 @@ cd electron yarn build:dist node pack.js -cp "${DIST_PATH}/F-Chat Rising Intel.dmg" "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-intel.dmg" -rm -f "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-intel.zip" -zip --junk-paths "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-intel.zip" "${DIST_PATH}/F-Chat Rising Intel.dmg" +cp "${DIST_PATH}/F-Chat Rising Intel.dmg" "${RELEASE_PATH}/F-Chat-Rising-macos-intel.dmg" +rm -f "${RELEASE_PATH}/F-Chat-Rising-macos-intel.zip" +zip --junk-paths "${RELEASE_PATH}/F-Chat-Rising-macos-intel.zip" "${DIST_PATH}/F-Chat Rising Intel.dmg" -cp "${DIST_PATH}/F-Chat Rising M1.dmg" "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-m1.dmg" -rm -f "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-m1.zip" -zip --junk-paths "${RELEASE_PATH}/F-Chat-Rising-${RELEASE_VERSION}-macos-m1.zip" "${DIST_PATH}/F-Chat Rising M1.dmg" +cp "${DIST_PATH}/F-Chat Rising M1.dmg" "${RELEASE_PATH}/F-Chat-Rising-macos-m1.dmg" +rm -f "${RELEASE_PATH}/F-Chat-Rising-macos-m1.zip" +zip --junk-paths "${RELEASE_PATH}/F-Chat-Rising-macos-m1.zip" "${DIST_PATH}/F-Chat Rising M1.dmg"