Compare commits

...

2 Commits

Author SHA1 Message Date
idk
dc96c6251f remove less-good family keys workaround 2022-06-17 03:13:30 -04:00
idk
c2bced68bb fix missing cert issue 2022-06-16 15:59:40 -04:00
3 changed files with 8 additions and 4 deletions

View File

@ -7,8 +7,8 @@ repositories {
android {
compileSdkVersion 28
defaultConfig {
versionCode 4745267
versionName "$I2P_VERSION"
versionCode 4745268
versionName "$I2P_ANDROID_VERSION"
minSdkVersion 14
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION as String)

View File

@ -62,7 +62,6 @@ class InitActivities {
void initialize() {
Util.i("Initializing the I2P resources");
unzipResourceToDir(R.raw.certificates_zip, "certificates");
List<Properties> lProps = Util.getPropertiesFromPreferences(ctx);
Properties props = lProps.get(0);
@ -143,6 +142,7 @@ class InitActivities {
File netDBDir = new File(myDir, "netDB");
netDBDir.mkdir();
//unzipResourceToDir(R.raw.netdb_zip, "netDB");
unzipResourceToDir(R.raw.certificates_zip, "certificates");
// Set up the locations so settings can find them
System.setProperty("i2p.dir.base", myDir);
@ -227,6 +227,9 @@ class InitActivities {
f.mkdir();
} else {
Util.i("Creating file " + myDir + "/" + folder +"/" + name + " from resource");
//create all the leading directories
File newFile = new File(myDir+"/"+folder+"/"+name);
newFile.getParentFile().mkdirs();
byte[] bytes = baos.toByteArray();
out = new FileOutputStream(f);
out.write(bytes);

View File

@ -17,4 +17,5 @@ POM_DEVELOPER_EMAIL=hankhill19580@gmail.com
ANDROID_BUILD_TARGET_SDK_VERSION=30
ANDROID_BUILD_SDK_VERSION=28
I2P_VERSION=1.8.0-1
I2P_VERSION=1.8.0-2
I2P_ANDROID_VERSION=1.8.1