This repository was archived by the owner on Sep 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 601
Expand file tree
/
Copy pathconfig.h
More file actions
85 lines (74 loc) · 3.32 KB
/
config.h
File metadata and controls
85 lines (74 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*/
#pragma once
// Application name used in native code. This name is *not* used in resources.
#ifdef OS_WIN
// MAX_PATH is only 260 chars which really isn't big enough for really long unc pathnames
// so use this constant instead which accounts for some really long pathnames
#define MAX_UNC_PATH 4096
// Name of group (if any) that application prefs/settings/etc. are stored under
// This must be an empty string (for no group), or a string that ends with "\\"
#define GROUP_NAME L""
#define APP_NAME L"Brackets"
#define WINDOW_TITLE APP_NAME
// Paths for node resources are relative to the location of the appshell executable
#define NODE_EXECUTABLE_PATH "node.exe"
#define NODE_CORE_PATH "node-core"
#define FIRST_INSTANCE_MUTEX_NAME (APP_NAME L".Shell.Instance")
#endif
#ifdef OS_MACOSX
// Name of group (if any) that application prefs/settings/etc. are stored under
// This must be an empty string (for no group), or a string that ends with "/"
#define GROUP_NAME @""
#define APP_NAME @"Brackets"
#define WINDOW_TITLE APP_NAME
// Paths for node resources are relative to the bundle path
#define NODE_EXECUTABLE_PATH @"/Contents/MacOS/Brackets-node"
#define NODE_CORE_PATH @"/Contents/node-core"
#endif
#ifdef OS_LINUX
// TODO linux preferences
//#define GROUP_NAME @""
#define APP_NAME "Brackets"
//#define WINDOW_TITLE APP_NAME
// Path for node resources is in dependencies dir and relative to the location of the appshell executable
#define NODE_EXECUTABLE_PATH "Brackets-node"
#define NODE_CORE_PATH "node-core"
#endif
#define REMOTE_DEBUGGING_PORT 9234
// Comment out this line to enable OS themed drawing
#define DARK_UI
#define DARK_AERO_GLASS
#define CUSTOM_TRAFFIC_LIGHTS
#define LIGHT_CAPTION_TEXT
// filename of Brackets' make portable switch
// the existence of this file in the same folder as the Brackets application will
// cause the application to be run in a "portable" state
#ifdef OS_WIN
#define MAKEPORTABLE_BRACKETS_FILENAME L"portable"
#else
#define MAKEPORTABLE_BRACKETS_FILENAME "portable"
#endif //OS_WIN
#define MAKEPORTABLE_BRACKETS_SIGNATURE_STRING "BracketsPortable"
#define MAKEPORTABLE_BRACKETS_VERSION_1 1
#define MAKEPORTABLE_BRACKETS_VERSION_CURRENT MAKEPORTABLE_BRACKETS_VERSION_1