diff --git a/README.md b/README.md index cbf0fb9..d37f46d 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ Description Users can manage the device remotely via the management page without needing to operate the screen, enabling access to an app store and management of third-party applications. Adapt to simple configuration, startup and other functions. +
+Main page +
+ [OpenVPN]()
@@ -48,4 +52,9 @@ Download [app-release.apk](https://github.com/jtun-coder/JtunRouting/releases) a # Support -Email: \ No newline at end of file +Email: + +# Join a group +
+qrcode +
\ No newline at end of file diff --git a/README/AppMain.png b/README/AppMain.png new file mode 100644 index 0000000..3479cb0 Binary files /dev/null and b/README/AppMain.png differ diff --git a/README/qrcode.jpg b/README/qrcode.jpg new file mode 100644 index 0000000..60a1ab7 Binary files /dev/null and b/README/qrcode.jpg differ diff --git a/app/src/main/java/com/jtun/router/App.kt b/app/src/main/java/com/jtun/router/App.kt index ce8d9e3..8406778 100644 --- a/app/src/main/java/com/jtun/router/App.kt +++ b/app/src/main/java/com/jtun/router/App.kt @@ -57,7 +57,7 @@ class App : Application() { deviceStorage.moveDatabaseFrom(this, AppDatabase.DB_NAME) Services.init { this } WifiApControl.getInstance().init(this) - KLog.init(true) + KLog.init(BuildConfig.DEBUG) BootReceiver.migrateIfNecessary() System.setProperty(DEBUG_PROPERTY_NAME, DEBUG_PROPERTY_VALUE_ON) ServiceNotification.updateNotificationChannels() diff --git a/app/src/main/java/com/jtun/router/MainActivity.kt b/app/src/main/java/com/jtun/router/MainActivity.kt index bed7ec4..22e7d4f 100644 --- a/app/src/main/java/com/jtun/router/MainActivity.kt +++ b/app/src/main/java/com/jtun/router/MainActivity.kt @@ -43,6 +43,7 @@ import org.json.JSONObject import pub.devrel.easypermissions.AfterPermissionGranted import pub.devrel.easypermissions.AppSettingsDialog import pub.devrel.easypermissions.EasyPermissions +import kotlin.system.exitProcess class MainActivity : AppCompatActivity(), EasyPermissions.PermissionCallbacks, LocalServerListener { @@ -171,7 +172,9 @@ class MainActivity : AppCompatActivity(), EasyPermissions.PermissionCallbacks, L handler.removeCallbacks(getSpeedRunnable) FrpUtil.stopFrp() TetheringUtil.stopTetheringService() + LocalServer.instance.release() super.onDestroy() + exitProcess(0) } /**