mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 11:09:49 +08:00
Added: Init TermuxShellEnvironment
at app startup
This will currently cache `TermuxAppShellEnvironment` so that its not regenerated for each shell started since it contains some slightly expensive operations.
This commit is contained in:
@@ -60,6 +60,9 @@ public class TermuxApplication extends Application {
|
||||
}
|
||||
|
||||
TermuxAmSocketServer.setupTermuxAmSocketServer(context);
|
||||
|
||||
// Init TermuxShellEnvironment constants and caches after everything has been setup including termux-am-socket server
|
||||
TermuxShellEnvironment.init(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user