mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
607 B
607 B
AGENTS.md for Magisk
General
- Prefix every shell command with
scripts/env.pyto ensure that commands are executed with the correct environment.
App
- All application related source code lives under
appdirectory. When working on the application codebase, useappas the working directory. - The
appdirectory is itself a Gradle project. Use./gradlewwith corresponding tasks to build the app. - The Magisk app is written in Kotlin and Java. Prefer Kotlin for all new code.
- After doing changes in
app, make sure to build the relevant modules to ensure they build successfully.