Skip to content

Commit

Permalink
Fix shadowtls utlsEnabled option cannot be saved (#29)
Browse files Browse the repository at this point in the history
* Fix utlsEnabled option cannot be saved

* app_singbox update version
  • Loading branch information
hibobmaster authored Mar 1, 2023
1 parent aeae2a6 commit ddeb677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app_singbox/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ setupAll()
android {
defaultConfig {
applicationId = "moe.matsuri.plugin.singbox"
versionCode = 3
versionName = "v1.2-beta5"
versionCode = 4
versionName = "v1.2-beta5-2"
splits.abi {
reset()
include("arm64-v8a", "x86_64")
Expand Down
2 changes: 1 addition & 1 deletion js/plugin_singbox/shadowtls.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class shadowTlsClass {
this.defaultSharedStorage.shadowTlsServerName = "";
this.defaultSharedStorage.shadowTlsServerPassword = "";
this.defaultSharedStorage.shadowTlsVersion = "2";
this.defaultSharedStorage.utlsEnabled = false;
this.defaultSharedStorage.utlsEnabled = "false";
this.defaultSharedStorage.utlsFingerprint = "chrome";

for (var k in this.defaultSharedStorage) {
Expand Down

0 comments on commit ddeb677

Please sign in to comment.