Product rename (#4)

* feat: update app identifiers and development team for iOS and macOS builds

* feat: rename AmneziaVPN to DefaultVPN in iOS configuration and code references

* Complete rename

* Missed folder renamed

* Translation removed from commit

* Another step of renaming

* submodule reverted
This commit is contained in:
Yaroslav 2025-03-25 16:12:13 +01:00 committed by GitHub
parent ab9248032c
commit e12e9a6587
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
136 changed files with 588 additions and 588 deletions

View file

@ -54,7 +54,7 @@ void Migrations::migrateV3()
return;
}
QString location = rootLocation + "/files/.config/AmneziaVPN.ORG/AmneziaVPN.conf";
QString location = rootLocation + "/files/.config/DefaultVPN.ORG/DefaultVPN.conf";
QFile oldConfig(location);
@ -63,7 +63,7 @@ void Migrations::migrateV3()
QDir newConfigDir(newConfigPath);
newConfigPath += "/AmneziaVPN.ORG";
newConfigPath += "/DefaultVPN.ORG";
bool mkPathRes = newConfigDir.mkpath(newConfigPath);
@ -71,14 +71,14 @@ void Migrations::migrateV3()
return;
}
QFile newConfigFile(newConfigPath + "/AmneziaVPN.conf");
QFile newConfigFile(newConfigPath + "/DefaultVPN.conf");
if (!newConfigFile.exists()) {
bool cpResult = QFile::copy(oldConfig.fileName(), newConfigFile.fileName());
if (cpResult) {
oldConfig.remove();
QDir oldConfigDir(rootLocation + "/files/.config");
oldConfigDir.rmdir("AmneziaVPN.ORG");
oldConfigDir.rmdir("DefaultVPN.ORG");
}
}
}