Skip to content

Release 4.1.4#30

Merged
LoveDoLove merged 10 commits intomainfrom
lovedolove
Jun 20, 2025
Merged

Release 4.1.4#30
LoveDoLove merged 10 commits intomainfrom
lovedolove

Conversation

@LoveDoLove
Copy link
Copy Markdown
Owner

This pull request includes updates to the EasyKit project, primarily focusing on version upgrades, centralizing shared logic for Inno Setup scripts, and improving maintainability by reusing common configuration across different builds. Below are the most important changes:

Version Upgrade:

  • Updated the AssemblyVersion and FileVersion in EasyKit.csproj to 4.1.4 to reflect the new release.

Centralized Shared Logic for Inno Setup:

  • Introduced a new Common.iss file to centralize shared configuration for Inno Setup scripts, such as application metadata and setup parameters. This reduces redundancy across different installer configurations.

Refactored Inno Setup Scripts:

  • Updated Release-win-x64.iss to include Common.iss and removed redundant setup logic, replacing it with shared definitions for the x64 build.
  • Updated Release-win-x86.iss similarly to include Common.iss and removed redundant setup logic for the x86 build.

Submodule Update:

  • Updated the CommonUtilities submodule to a new commit (0e06b1d3d93172fd2d0796ce81e2dd193d23abda).

Improves Add, Update, and Remove submodule operations by adding user prompts, validation checks, detailed error handling, and user guidance. Now checks for existing directories and submodule paths, provides suggestions for common errors, allows updating specific submodules, and gives step-by-step feedback and recovery instructions during removal. These changes make submodule management more robust and user-friendly.
Enhanced the logic for adding submodules by providing options when the target directory exists and contains files, including removal, force add, or cancel. Improved error handling and user guidance for common submodule issues, such as invalid repositories, permission errors, and index conflicts. Added more detailed suggestions and retry mechanisms for failed submodule additions, and refactored code for clarity and user experience.
This update significantly improves the add, update, and remove submodule workflows in GitController. It adds detailed user prompts, more robust error handling, and interactive suggestions for resolving common issues (e.g., force-adding, cleaning up failed submodules, handling uncommitted changes, and switching between SSH/HTTPS). The update and removal processes now offer more granular options and recovery guidance, making submodule management more user-friendly and resilient.
Updated AssemblyVersion and FileVersion in EasyKit.csproj from 4.1.3 to 4.1.4 to reflect a new release.
Updated the MyAppVersion definition from 4.1.3 to 4.1.4 in both Release-win-x64.iss and Release-win-x86.iss to reflect the new application version.
Set the SetupIconFile property in both Release-win-x64.iss and Release-win-x86.iss to use a custom icon for the installer.
Eliminated the 'desktopicon' task and its association from both x64 and x86 Inno Setup scripts. The installer will now always create a desktop icon without prompting the user.
The post-install step to automatically launch the application has been removed from both the x64 and x86 Inno Setup scripts. This change prevents the app from starting immediately after installation.
Extracted common installer logic into a new Common.iss file and updated Release-win-x64.iss and Release-win-x86.iss to include it. This reduces duplication and centralizes shared configuration, making maintenance easier.
@LoveDoLove LoveDoLove self-assigned this Jun 20, 2025
@LoveDoLove LoveDoLove merged commit b9f0449 into main Jun 20, 2025
@LoveDoLove LoveDoLove deleted the lovedolove branch June 20, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant