mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +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()) {
|
||||
Assert(*AlphaPrivateKey != 0);
|
||||
|
||||
cForceWorkingDir(portable + '/');
|
||||
cForceWorkingDir(portable);
|
||||
QDir().mkpath(cWorkingDir() + u"tdata"_q);
|
||||
cSetAlphaPrivateKey(QByteArray(AlphaPrivateKey));
|
||||
if (!key.open(QIODevice::WriteOnly)) {
|
||||
|
@ -239,7 +239,7 @@ bool CheckPortableVersionFolder() {
|
|||
if (!QDir(portable).exists()) {
|
||||
return true;
|
||||
}
|
||||
cForceWorkingDir(portable + '/');
|
||||
cForceWorkingDir(portable);
|
||||
if (!key.exists()) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue