Add Shell API.
Include APIs: shell.showItemInFolder shell.openItem shell.openExternal shell.moveItemToTrash
This commit is contained in:
parent
fbad5bc822
commit
157c978aa8
7 changed files with 159 additions and 0 deletions
12
atom.gyp
12
atom.gyp
|
@ -13,6 +13,7 @@
|
|||
'browser/atom/objects_registry.coffee',
|
||||
'browser/atom/rpc_server.coffee',
|
||||
'common/api/lib/id_weak_map.coffee',
|
||||
'common/api/lib/shell.coffee',
|
||||
'renderer/api/lib/ipc.coffee',
|
||||
'renderer/api/lib/remote.coffee',
|
||||
],
|
||||
|
@ -47,6 +48,8 @@
|
|||
'common/api/atom_api_idle_gc.cc',
|
||||
'common/api/atom_api_id_weak_map.cc',
|
||||
'common/api/atom_api_id_weak_map.h',
|
||||
'common/api/atom_api_shell.cc',
|
||||
'common/api/atom_api_shell.h',
|
||||
'common/api/atom_api_v8_util.cc',
|
||||
'common/api/atom_bindings.cc',
|
||||
'common/api/atom_bindings.h',
|
||||
|
@ -160,6 +163,15 @@
|
|||
'.',
|
||||
'vendor',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="mac"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'generated_sources',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue