mirror of
https://github.com/electron/electron.git
synced 2026-01-26 07:48:08 -05:00
fix escape backslashes
This commit is contained in:
committed by
Shelley Vohr
parent
c1c8f7b0f1
commit
d2d4b4cc23
@@ -97,8 +97,8 @@ void OverrideLinuxAppDataPath() {
|
||||
|
||||
void OverrideWinAppLogsPath() {
|
||||
std::string appName = GetApplicationName();
|
||||
std::string logPath = "%HOMEDRIVE%%HOMEPATH%\AppData\Roaming\\";
|
||||
std::string appLogPath = logPath + appName + "\logs";
|
||||
std::string logPath = "%HOMEDRIVE%%HOMEPATH%\\AppData\\Roaming\\";
|
||||
std::string appLogPath = logPath + appName + "\\logs";
|
||||
|
||||
int status = mkdir(appLogPath.c_str(), S_IRWXU | S_IRGRP | S_IROTH);
|
||||
|
||||
@@ -113,6 +113,7 @@ void OverrideLinuxAppLogsPath() {
|
||||
int status = mkdir(appLogPath.c_str(), S_IRWXU | S_IRGRP | S_IROTH);
|
||||
|
||||
PathService::Override(DIR_APP_LOGS, base::FilePath(appLogPath));
|
||||
return;
|
||||
}
|
||||
|
||||
int BrowserX11ErrorHandler(Display* d, XErrorEvent* error) {
|
||||
|
||||
Reference in New Issue
Block a user