feat: update ignore file for jar file

This commit is contained in:
2025-11-13 20:24:33 +08:00
parent 694106712f
commit aa8ac2271a
4 changed files with 5 additions and 7 deletions

View File

@@ -14,7 +14,10 @@
"Bash(tree:*)", "Bash(tree:*)",
"Bash(git mv:*)", "Bash(git mv:*)",
"Bash(git checkout:*)", "Bash(git checkout:*)",
"Bash(tee:*)" "Bash(tee:*)",
"Bash(git stash:*)",
"Bash(jar tf:*)",
"Bash(xargs -I {} sh -c 'echo \"\"\"\"=== {} ===\"\"\"\" && jar tf {} 2>/dev/null | grep -i \"\"\"\"gprinter\"\"\"\" | head -5')"
], ],
"deny": [], "deny": [],
"ask": [] "ask": []

2
.gitignore vendored
View File

@@ -15,7 +15,7 @@
.mtj.tmp/ .mtj.tmp/
# Package Files # # Package Files #
*.jar # *.jar
*.war *.war
*.nar *.nar
*.ear *.ear

BIN
module_base/libs/SDKLib.jar Normal file

Binary file not shown.

View File

@@ -1,12 +1,9 @@
package com.lukouguoji.module_base.model package com.lukouguoji.module_base.model
import android.Manifest
import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothAdapter
import android.content.Context import android.content.Context
import android.content.Intent
import android.view.View import android.view.View
import android.widget.TextView import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity.RESULT_OK
import androidx.appcompat.widget.Toolbar import androidx.appcompat.widget.Toolbar
import androidx.lifecycle.MutableLiveData import androidx.lifecycle.MutableLiveData
import com.gprinter.bean.PrinterDevices import com.gprinter.bean.PrinterDevices
@@ -20,10 +17,8 @@ import com.lukouguoji.module_base.interfaces.IOnItemClickListener
import com.lukouguoji.module_base.ktx.addOnItemClickListener import com.lukouguoji.module_base.ktx.addOnItemClickListener
import com.lukouguoji.module_base.ktx.commonAdapter import com.lukouguoji.module_base.ktx.commonAdapter
import com.lukouguoji.module_base.ktx.loge import com.lukouguoji.module_base.ktx.loge
import com.lukouguoji.module_base.ktx.permission
import com.lukouguoji.module_base.ktx.showToast import com.lukouguoji.module_base.ktx.showToast
import com.lukouguoji.module_base.util.PrinterUtils import com.lukouguoji.module_base.util.PrinterUtils
import dev.DevUtils
class BluetoothDialogModel : BaseDialogModel<DialogBluetoothBinding>(DIALOG_TYPE_FULL) { class BluetoothDialogModel : BaseDialogModel<DialogBluetoothBinding>(DIALOG_TYPE_FULL) {