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:
parent
ab9248032c
commit
e12e9a6587
136 changed files with 588 additions and 588 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue