main-executable: add '-e' cmdline option

Some multi-platform apps accept cmdline options using the `-e` option
of `am`. For example, you can now use `-e unity='<unity cmdline>'`
to pass cmdline arguments to a unity game.
This commit is contained in:
Mis012
2024-05-22 12:24:11 +02:00
parent 14e870c9b5
commit 54dd61da3d
3 changed files with 40 additions and 1 deletions

View File

@@ -106,6 +106,10 @@ struct handle_cache {
jmethodID draw;
jmethodID setBounds;
} drawable;
struct {
jclass class;
jmethodID putExtraCharSequence;
} intent;
};
extern struct handle_cache handle_cache;