From 18c8621095420da9db2fb7e5323b910925fbb5b2 Mon Sep 17 00:00:00 2001 From: MasterAcnolo Date: Tue, 6 Oct 2026 21:43:11 +0200 Subject: [PATCH] fix: update release script to reference new RELEASE-CHANGELOG.md and correct deb package name --- CHANGELOG.md | 2 -- scripts/RELEASE-CHANGELOG.md | 21 +++++++++++++++++++++ scripts/release.sh | 8 ++++---- 3 files changed, 25 insertions(+), 6 deletions(-) delete mode 100644 CHANGELOG.md create mode 100644 scripts/RELEASE-CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 892c4ca..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,2 +0,0 @@ -[//]: # (This file is used for the release CHANGELOG. Please use Markdown to describe changes.) - diff --git a/scripts/RELEASE-CHANGELOG.md b/scripts/RELEASE-CHANGELOG.md new file mode 100644 index 0000000..05fca36 --- /dev/null +++ b/scripts/RELEASE-CHANGELOG.md @@ -0,0 +1,21 @@ +### Features +- **In-App Feedback**: Added a built-in feedback form allowing users to send feedback, bug reports, and daily logs directly to the development team. +- **Community Contributions**: GitHub issues are now better maintained on the repository. If you want to contribute to the project, feel free to drop by and check out the `good first issue` tags! + +### Improvements +- **Bundle Size**: Optimized assets and dependencies, reducing the overall application bundle size by approximately 50% on specific version. +- **Updater UI**: Reworked the update notification for better clarity. Windows and AppImage users can download updates seamlessly in-app, while unsupported Linux package users are gracefully redirected to the manual download page. Flatpak (.rpm) and Snap (.snap) users are not informed, because that updates are handled by their respective package managers. +- **Toast Notifications**: Refactored the style and overall UX of toast alerts. +- **Code Quality**: Implemented a linter to enforce coding standards. + +### Bug Fixes +- **Auto-Updater**: Fixed a major issue causing 404 Not Found errors when attempting to download updates for `.AppImage` releases. +- **Linux Updates**: Fixed update crashes on `.rpm` and `.snap` packages. In-app update flows are now disabled for these formats to let the OS natively handle the process. +- **Windows Logs**: Fixed a file naming issue with the log transport system on Windows. +- **Desktop Entry Name**: Fixed the desktop entry name for Linux users, ensuring it displays correctly in application menus. + +### Chores +- **Dependencies**: Removed `dotenv` from the project. +- **URL**: A new URL for the website is now available ! [freedomloader.acnolo.fr](https://freedomloader.acnolo.fr) +- **Dev**: Add new npm script. To check linux file quality + \ No newline at end of file diff --git a/scripts/release.sh b/scripts/release.sh index 21aa40d..4c4758a 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -67,11 +67,11 @@ echo "Workspace cleaned (dist/ and srpm-out/ removed)" # ------------------------------------------------------------ # Step 0.3 - Retrieve Changelog # ------------------------------------------------------------ -if [ ! -f "$ROOT_DIR/CHANGELOG.md" ]; then - echo "Warning: CHANGELOG.md not found, release notes will be empty." +if [ ! -f "$ROOT_DIR/scripts/RELEASE-CHANGELOG.md" ]; then + echo "Warning: RELEASE-CHANGELOG.md not found, release notes will be empty." CHANGELOG="" else - CHANGELOG="$(cat "$ROOT_DIR/CHANGELOG.md")" + CHANGELOG="$(cat "$ROOT_DIR/scripts/RELEASE-CHANGELOG.md")" echo "Changelog retrieved successfully" fi # ------------------------------------------------------------ @@ -132,7 +132,7 @@ if [ "$DRY_RUN" = false ]; then "$ROOT_DIR/dist/Freedom-Loader-Setup-${VERSION}.exe" \ "$ROOT_DIR/dist/Freedom-Loader-Setup-${VERSION}.exe.blockmap" \ "$ROOT_DIR/dist/freedom-loader-${VERSION}.x86_64.rpm" \ - "$ROOT_DIR/dist/freedom-loader_${VERSION}_amd64.deb" \ + "$ROOT_DIR/dist/Freedom-Loader_${VERSION}_amd64.deb" \ "$ROOT_DIR/dist/Freedom-Loader-${VERSION}.AppImage" \ "$ROOT_DIR/dist/freedom-loader_${VERSION}_amd64.snap" \ "$ROOT_DIR/dist/latest.yml" \