mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Get rid of unneeded + '/'
for cForceWorkingDir
It does the same on its own
This commit is contained in:
parent
f3572e52ac
commit
c5424d0a9a
1 changed files with 2 additions and 2 deletions
|
@ -223,7 +223,7 @@ bool CheckPortableVersionFolder() {
|
||||||
if (cAlphaVersion()) {
|
if (cAlphaVersion()) {
|
||||||
Assert(*AlphaPrivateKey != 0);
|
Assert(*AlphaPrivateKey != 0);
|
||||||
|
|
||||||
cForceWorkingDir(portable + '/');
|
cForceWorkingDir(portable);
|
||||||
QDir().mkpath(cWorkingDir() + u"tdata"_q);
|
QDir().mkpath(cWorkingDir() + u"tdata"_q);
|
||||||
cSetAlphaPrivateKey(QByteArray(AlphaPrivateKey));
|
cSetAlphaPrivateKey(QByteArray(AlphaPrivateKey));
|
||||||
if (!key.open(QIODevice::WriteOnly)) {
|
if (!key.open(QIODevice::WriteOnly)) {
|
||||||
|
@ -239,7 +239,7 @@ bool CheckPortableVersionFolder() {
|
||||||
if (!QDir(portable).exists()) {
|
if (!QDir(portable).exists()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
cForceWorkingDir(portable + '/');
|
cForceWorkingDir(portable);
|
||||||
if (!key.exists()) {
|
if (!key.exists()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue