mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
android
This commit is contained in:
parent
7fcc55c2f8
commit
152fd0ad92
2 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,7 @@ func init() {
|
|||
|
||||
func initFlags() {
|
||||
rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "config file")
|
||||
rootCmd.PersistentFlags().StringVarP(&logLevel, "log-level", "l", envOrDefaultString(appLogLevelEnv, "info"), "log level")
|
||||
rootCmd.PersistentFlags().StringVarP(&logLevel, "log-level", "l", envOrDefaultString(appLogLevelEnv, "debug"), "log level")
|
||||
rootCmd.PersistentFlags().StringVarP(&logFormat, "log-format", "f", envOrDefaultString(appLogFormatEnv, "console"), "log format")
|
||||
rootCmd.PersistentFlags().BoolVar(&disableUpdateCheck, "disable-update-check", envOrDefaultBool(appDisableUpdateCheckEnv, false), "disable update check")
|
||||
rootCmd.PersistentFlags().StringVarP(&CfgString, "config-string", "s", "", "config string")
|
||||
|
|
2
makefile
Normal file
2
makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
build:
|
||||
gomobile bind -target=android --androidapi 21 -o ../../android/app/mylib/hysteria.aar ./app/cmd/
|
Loading…
Add table
Add a link
Reference in a new issue