Add release localsocket,update readme

This commit is contained in:
quliangxu 2024-11-23 10:45:17 +08:00
parent 714dd7d099
commit 2477a8bee3
5 changed files with 14 additions and 2 deletions

View File

@ -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.
<center class="half">
<img src="./README/AppMain.png" alt="Main page" style="zoom:25%"/>
</center>
[OpenVPN]()
<center class="half">
@ -48,4 +52,9 @@ Download [app-release.apk](https://github.com/jtun-coder/JtunRouting/releases) a
# Support
Email: <jtun@86.ltd>
Email: <jtun@86.ltd>
# Join a group
<center class="half">
<img src="./README/qrcode.jpg" alt="qrcode" style="zoom:25%"/>
</center>

BIN
README/AppMain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
README/qrcode.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

View File

@ -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()

View File

@ -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)
}
/**