linux: Implement brightray's stub functions.
This commit is contained in:
parent
7afef0fcdb
commit
66ac11ca5f
2 changed files with 20 additions and 0 deletions
1
atom.gyp
1
atom.gyp
|
@ -153,6 +153,7 @@
|
|||
'common/crash_reporter/win/crash_service_main.h',
|
||||
'common/draggable_region.cc',
|
||||
'common/draggable_region.h',
|
||||
'common/linux/application_info.cc',
|
||||
'common/node_bindings.cc',
|
||||
'common/node_bindings.h',
|
||||
'common/node_bindings_mac.cc',
|
||||
|
|
19
common/linux/application_info.cc
Normal file
19
common/linux/application_info.cc
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "common/atom_version.h"
|
||||
|
||||
namespace brightray {
|
||||
|
||||
std::string GetApplicationName() {
|
||||
return "Atom-Shell";
|
||||
}
|
||||
|
||||
std::string GetApplicationVersion() {
|
||||
return ATOM_VERSION_STRING;
|
||||
}
|
||||
|
||||
} // namespace brightray
|
Loading…
Reference in a new issue