初始版本
This commit is contained in:
@@ -19,6 +19,20 @@ android {
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
|
||||
// sign the application
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file('..\\sinclass.jks')
|
||||
storePassword '=efX!O4i'
|
||||
keyAlias 'ScreenClient'
|
||||
keyPassword '=efX!O4i'
|
||||
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled true
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
signingConfig signingConfigs.release
|
||||
@@ -37,18 +51,6 @@ android {
|
||||
viewBinding true
|
||||
}
|
||||
|
||||
// sign the application
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file('..\\sinclass.jks')
|
||||
storePassword '=efX!O4i'
|
||||
keyAlias 'ScreenClient'
|
||||
keyPassword '=efX!O4i'
|
||||
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled true
|
||||
}
|
||||
}
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
def docDir = rootProject.getRootDir().getAbsolutePath() + "/../apk/dashboard"
|
||||
|
||||
@@ -94,7 +94,7 @@ public class BuildingDashboardActivity extends FullscreenActivity {
|
||||
super.onResume();
|
||||
|
||||
SharedPreferences pre = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
String url = pre.getString("k_url", "http://10.1.58.176:8002");
|
||||
String url = pre.getString("k_url", "http://172.18.22.211:8002/Dashboard");
|
||||
mainUrl = url + "/index.html";
|
||||
configUrl = url + "/data/config.json";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<EditTextPreference
|
||||
app:key="k_url"
|
||||
app:title="URL 前缀"
|
||||
app:defaultValue="http://10.1.58.176:8002"
|
||||
app:defaultValue="http://172.18.22.211:8002/Dashboard"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user