2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Allow any version to be used as a portable.

You need to place TelegramForcePortable folder near the application.
This commit is contained in:
John Preston
2018-10-02 13:22:32 +03:00
parent 25cefc6eab
commit 36f72191ad
3 changed files with 22 additions and 11 deletions

View File

@@ -322,7 +322,7 @@ bool DebugEnabled() {
void start(not_null<Core::Launcher*> launcher) {
Assert(LogsData == 0);
if (!Sandbox::CheckAlphaVersionDir()) {
if (!Sandbox::CheckPortableVersionDir()) {
return;
}