Revert "Added symbolic link creation to linux and macos #4696"

This reverts commit ad9cfd64af.

Conflicts:
	src/gui/src/PluginManager.cpp
This commit is contained in:
Jerry (Xinyu Hou)
2015-07-09 13:46:17 -07:00
parent a8cf9173c8
commit 81649376fa
9 changed files with 16 additions and 16 deletions

View File

@@ -38,18 +38,18 @@ DropHelper::writeToDir(const String& destination, DragFileList& fileList, String
file.open(dropTarget.c_str(), std::ios::out | std::ios::binary);
if (!file.is_open()) {
LOG((CLOG_ERR "drop file failed: can not open %s", dropTarget.c_str()));
LOG((CLOG_NOTIFY "file transmission failed: can not open %s", dropTarget.c_str()));
LOG((CLOG_DEBUG "file transmission failed: can not open %s", dropTarget.c_str()));
}
file.write(data.c_str(), data.size());
file.close();
LOG((CLOG_NOTIFY "file transmission complete: %s is saved to %s", fileList.at(0).getFilename().c_str(), destination.c_str()));
LOG((CLOG_DEBUG "file transmission complete: %s is saved to %s", fileList.at(0).getFilename().c_str(), destination.c_str()));
fileList.clear();
}
else {
LOG((CLOG_ERR "drop file failed: drop target is empty"));
LOG((CLOG_NOTIFY "file transmission failed: drop target is empty"));
LOG((CLOG_DEBUG "file transmission failed: drop target is empty"));
}
}