[PR #16167] [CLOSED] service: reinstall active strategy after changing Game Filter #421

Closed
opened 2026-07-24 03:34:40 +03:00 by mirror-bot · 0 comments

📋 Pull Request Information

Original PR: https://github.com/Flowseal/zapret-discord-youtube/pull/16167
Author: @evansvl
Created: 7/23/2026
Status: ❌ Closed

Base: main ← Head: restart-game-filter-service


📝 Commits (2)

  • ebf0ab3 Apply game filter by reinstalling active service
  • acd7ddd Potential fix for pull request finding

📊 Changes

1 file changed (+106 additions, -11 deletions)

View changed files

📝 service.bat (+106 -11)

📄 Description

What changed

  • detects whether the Game Filter mode actually changed
  • reads the currently installed strategy from the zapret service registry value
  • offers to reinstall the service using the same strategy
  • reuses the service installation logic instead of duplicating argument parsing
  • handles missing services and missing strategy files

Why

Game Filter values are expanded into the service binPath during installation. Restarting the existing service keeps the old arguments, so changing the filter previously required a manual reinstall.

Validation

  • git diff --check
  • static invocation: cmd /d /v:on /c "call service.bat load_game_filter"
  • Windows Service commands were not run in this environment.

🔄 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/16167 **Author:** [@evansvl](https://github.com/evansvl) **Created:** 7/23/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `restart-game-filter-service` --- ### 📝 Commits (2) - [`ebf0ab3`](https://github.com/Flowseal/zapret-discord-youtube/commit/ebf0ab336028075c2d7911c7a490596cc1476526) Apply game filter by reinstalling active service - [`acd7ddd`](https://github.com/Flowseal/zapret-discord-youtube/commit/acd7dddc180f60cd2b2e47fcdd69f7b527ec26b5) Potential fix for pull request finding ### 📊 Changes **1 file changed** (+106 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `service.bat` (+106 -11) </details> ### 📄 Description ## What changed - detects whether the Game Filter mode actually changed - reads the currently installed strategy from the zapret service registry value - offers to reinstall the service using the same strategy - reuses the service installation logic instead of duplicating argument parsing - handles missing services and missing strategy files ## Why Game Filter values are expanded into the service binPath during installation. Restarting the existing service keeps the old arguments, so changing the filter previously required a manual reinstall. ## Validation - `git diff --check` - static invocation: `cmd /d /v:on /c "call service.bat load_game_filter"` - Windows Service commands were not run in this environment. --- <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-24 03:34:40 +03:00
mirror-bot changed title from [PR #16167] service: reinstall active strategy after changing Game Filter to [PR #16167] [CLOSED] service: reinstall active strategy after changing Game Filter 2026-08-09 15:18:55 +03:00
mirror-bot changed title from [PR #16167] [CLOSED] service: reinstall active strategy after changing Game Filter to [PR #16167] service: reinstall active strategy after changing Game Filter 2026-08-18 22:21:37 +03:00
mirror-bot changed title from [PR #16167] service: reinstall active strategy after changing Game Filter to [PR #16167] [CLOSED] service: reinstall active strategy after changing Game Filter 2026-08-19 05:21:41 +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#421