Skip to content

Comments

manager: Add confirmation dialog for ZIP module installation via external sources#2989

Merged
tiann merged 1 commit intotiann:mainfrom
sakana164:zip-opt
Nov 25, 2025
Merged

manager: Add confirmation dialog for ZIP module installation via external sources#2989
tiann merged 1 commit intotiann:mainfrom
sakana164:zip-opt

Conversation

@sakana164
Copy link
Contributor

@sakana164 sakana164 commented Nov 25, 2025

refactor intent handling into a dedicated composable
Show a confirmation dialog when users open ZIP files with KernelSU from file managers to prevent accidental installation.

Signed-off-by: sakana164 [email protected]

refactor intent handling into a dedicated composable
@sakana164 sakana164 changed the title manager: Add confirmation dialog for ZIP module installation manager: Add confirmation dialog for ZIP module installation via external sources Nov 25, 2025
@tiann tiann requested a review from Copilot November 25, 2025 12:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a confirmation dialog to prevent accidental module installation when ZIP files are opened with KernelSU from external file managers, and refactors the intent handling logic into a dedicated composable for better code organization.

  • Extracted ZIP file intent handling from the main composition into a new ZipFileIntentHandler composable function
  • Added a confirmation dialog that displays the module filename before proceeding with installation
  • Maintained the same intent state management pattern to handle new intents properly

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@tiann tiann merged commit 9878d1a into tiann:main Nov 25, 2025
21 checks passed
KOWX712 pushed a commit to KOWX712/KernelSU that referenced this pull request Nov 26, 2025
…rnal sources (tiann#2989)

refactor intent handling into a dedicated composable
Show a confirmation dialog when users open ZIP files with KernelSU from
file managers to prevent accidental installation.

Signed-off-by: sakana164 <[email protected]>
rsuntk pushed a commit to rsuntk/KernelSU that referenced this pull request Nov 27, 2025
…rnal sources (tiann#2989)

refactor intent handling into a dedicated composable
Show a confirmation dialog when users open ZIP files with KernelSU from
file managers to prevent accidental installation.

Signed-off-by: sakana164 <[email protected]>
Signed-off-by: fc5b87cf <[email protected]>
@sakana164 sakana164 deleted the zip-opt branch December 4, 2025 10:55
u9521 added a commit to u9521/KernelSU that referenced this pull request Jan 4, 2026
…rnal sources (tiann#2989)

refactor intent handling into a dedicated composable
Show a confirmation dialog when users open ZIP files with KernelSU from
file managers to prevent accidental installation.

Co-authored-by: sakana164 <[email protected]>
Signed-off-by: u9521 <[email protected]>
u9521 added a commit to u9521/KernelSU that referenced this pull request Jan 5, 2026
…rnal sources (tiann#2989)

refactor intent handling into a dedicated composable
Show a confirmation dialog when users open ZIP files with KernelSU from
file managers to prevent accidental installation.

Co-authored-by: sakana164 <[email protected]>
Signed-off-by: u9521 <[email protected]>
u9521 added a commit to u9521/KernelSU that referenced this pull request Jan 13, 2026
…rnal sources (tiann#2989)

refactor intent handling into a dedicated composable
Show a confirmation dialog when users open ZIP files with KernelSU from
file managers to prevent accidental installation.

Co-authored-by: sakana164 <[email protected]>
Signed-off-by: u9521 <[email protected]>
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.

2 participants