[PR #5006] [CLOSED] Feature/fast service setup #131

Closed
opened 2026-07-19 00:41:03 +03:00 by mirror-bot · 0 comments

📋 Pull Request Information

Original PR: https://github.com/Flowseal/zapret-discord-youtube/pull/5006
Author: @duna-one
Created: 9/6/2025
Status: ❌ Closed

Base: main ← Head: feature/fast-service-setup


📝 Commits (2)

  • 8f2f763 Refactor installation process in service.bat: renamed install section and improved argument handling for service installation.
  • 4407baf Enhance service.bat: updated menu options, improved service removal feedback, and added installation wizard for better user experience.

📊 Changes

1 file changed (+157 additions, -30 deletions)

View changed files

📝 service.bat (+157 -30)

📄 Description

Service Installation Wizard Improvements

Summary

Enhanced service installation wizard with automated cleanup and improved error handling.

Installation Wizard Enhancements

Automated Service Testing

The wizard now provides a streamlined installation experience by automatically testing all available service configurations without requiring manual intervention:

  • Pre-installation Cleanup: Automatically removes existing services before starting installation
  • Sequential Testing: Tests each available .bat file as a service configuration
  • Automatic Cleanup: Removes failed services and continues to next configuration
  • No Manual Intervention: Eliminates need to exit to main menu and manually remove services between attempts

User Experience Improvements

  • Simplified Process: Users only need to verify if Discord/YouTube are working after each installation
  • Clean State: Each test starts with a fresh environment, preventing conflicts
  • Seamless Flow: Continuous testing without interruption until successful configuration found

Technical Changes

Service Functions

  • Added exitToMainMenuOnEnd parameter to service_remove (default: true)
  • Added waitForClick parameter to service_install (default: true)
  • Improved error handling with existence checks and proper error level validation

Function Signatures

:service_remove [exitToMainMenuOnEnd]
:service_install [selectedFile] [choice] [waitForClick]

Benefits

  • Easier Installation: Try all service variants without manual cleanup
  • Prevents Crashes: Robust error handling for missing services
  • Maintains Compatibility: Existing functionality unchanged

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Flowseal/zapret-discord-youtube/pull/5006 **Author:** [@duna-one](https://github.com/duna-one) **Created:** 9/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/fast-service-setup` --- ### 📝 Commits (2) - [`8f2f763`](https://github.com/Flowseal/zapret-discord-youtube/commit/8f2f76305c99077d02919bb2193a7f97e192e4bc) Refactor installation process in service.bat: renamed install section and improved argument handling for service installation. - [`4407baf`](https://github.com/Flowseal/zapret-discord-youtube/commit/4407baf841a26ce6e543701b7fdd6dee2715d042) Enhance service.bat: updated menu options, improved service removal feedback, and added installation wizard for better user experience. ### 📊 Changes **1 file changed** (+157 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `service.bat` (+157 -30) </details> ### 📄 Description # Service Installation Wizard Improvements ## Summary Enhanced service installation wizard with automated cleanup and improved error handling. ## Installation Wizard Enhancements ### Automated Service Testing The wizard now provides a streamlined installation experience by automatically testing all available service configurations without requiring manual intervention: - **Pre-installation Cleanup**: Automatically removes existing services before starting installation - **Sequential Testing**: Tests each available `.bat` file as a service configuration - **Automatic Cleanup**: Removes failed services and continues to next configuration - **No Manual Intervention**: Eliminates need to exit to main menu and manually remove services between attempts ### User Experience Improvements - **Simplified Process**: Users only need to verify if Discord/YouTube are working after each installation - **Clean State**: Each test starts with a fresh environment, preventing conflicts - **Seamless Flow**: Continuous testing without interruption until successful configuration found ## Technical Changes ### Service Functions - Added `exitToMainMenuOnEnd` parameter to `service_remove` (default: true) - Added `waitForClick` parameter to `service_install` (default: true) - Improved error handling with existence checks and proper error level validation ### Function Signatures ```batch :service_remove [exitToMainMenuOnEnd] :service_install [selectedFile] [choice] [waitForClick] ``` ## Benefits - **Easier Installation**: Try all service variants without manual cleanup - **Prevents Crashes**: Robust error handling for missing services - **Maintains Compatibility**: Existing functionality unchanged --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror-bot added the pull-request label 2026-07-19 00:41:03 +03:00
mirror-bot changed title from [PR #5006] [CLOSED] Feature/fast service setup to [PR #5006] Feature/fast service setup 2026-07-20 04:18:01 +03:00
mirror-bot changed title from [PR #5006] Feature/fast service setup to [PR #5006] [CLOSED] Feature/fast service setup 2026-07-20 23:17:39 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Utilities/zapret-discord-youtube#131