mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
We deduce the name of the application from the CFBundleName of the .app bundle and use a path based on that. Similar logic should be implementable for other platforms. Fixes #3.
13 lines
178 B
C++
13 lines
178 B
C++
#ifndef BRIGHTRAY_COMMON_APPLICATION_NAME_H_
|
|
#define BRIGHTRAY_COMMON_APPLICATION_NAME_H_
|
|
|
|
#include <string>
|
|
|
|
namespace brightray {
|
|
|
|
std::string GetApplicationName();
|
|
|
|
}
|
|
|
|
#endif
|