Compare commits

...

4 Commits

Author SHA1 Message Date
Cheng Zhao
86ffbe16fb Bump v0.35.6 2016-01-11 04:51:03 +00:00
Robo
25aaafde45 fix chrome app and user path conflicts 2016-01-11 10:21:38 +08:00
Cheng Zhao
61e990e8cd Bump v0.35.5 2015-12-31 10:07:01 +08:00
Tyler Gibson
fb143a5dab Adding check for Windows version and alternate flags for Windows Vista/7 2015-12-31 10:06:50 +08:00
6 changed files with 29 additions and 16 deletions

View File

@@ -4,7 +4,7 @@
'product_name%': 'Electron', 'product_name%': 'Electron',
'company_name%': 'GitHub, Inc', 'company_name%': 'GitHub, Inc',
'company_abbr%': 'github', 'company_abbr%': 'github',
'version%': '0.35.4', 'version%': '0.35.6',
}, },
'includes': [ 'includes': [
'filenames.gypi', 'filenames.gypi',

View File

@@ -17,9 +17,9 @@
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>atom.icns</string> <string>atom.icns</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0.35.4</string> <string>0.35.6</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.35.4</string> <string>0.35.6</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string> <string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>

View File

@@ -56,8 +56,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,35,4,0 FILEVERSION 0,35,6,0
PRODUCTVERSION 0,35,4,0 PRODUCTVERSION 0,35,6,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@@ -74,12 +74,12 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "GitHub, Inc." VALUE "CompanyName", "GitHub, Inc."
VALUE "FileDescription", "Electron" VALUE "FileDescription", "Electron"
VALUE "FileVersion", "0.35.4" VALUE "FileVersion", "0.35.6"
VALUE "InternalName", "electron.exe" VALUE "InternalName", "electron.exe"
VALUE "LegalCopyright", "Copyright (C) 2015 GitHub, Inc. All rights reserved." VALUE "LegalCopyright", "Copyright (C) 2015 GitHub, Inc. All rights reserved."
VALUE "OriginalFilename", "electron.exe" VALUE "OriginalFilename", "electron.exe"
VALUE "ProductName", "Electron" VALUE "ProductName", "Electron"
VALUE "ProductVersion", "0.35.4" VALUE "ProductVersion", "0.35.6"
VALUE "SquirrelAwareVersion", "1" VALUE "SquirrelAwareVersion", "1"
END END
END END

View File

@@ -7,7 +7,7 @@
#define ATOM_MAJOR_VERSION 0 #define ATOM_MAJOR_VERSION 0
#define ATOM_MINOR_VERSION 35 #define ATOM_MINOR_VERSION 35
#define ATOM_PATCH_VERSION 4 #define ATOM_PATCH_VERSION 6
#define ATOM_VERSION_IS_RELEASE 1 #define ATOM_VERSION_IS_RELEASE 1

View File

@@ -340,13 +340,26 @@ bool MoveItemToTrash(const base::FilePath& path) {
// Elevation prompt enabled for UAC protected files. This overrides the // Elevation prompt enabled for UAC protected files. This overrides the
// SILENT, NO_UI and NOERRORUI flags. // SILENT, NO_UI and NOERRORUI flags.
if (base::win::GetVersion() >= base::win::VERSION_WIN8) {
// Windows 8 introduces the flag RECYCLEONDELETE and deprecates the
// ALLOWUNDO in favor of ADDUNDORECORD.
if (FAILED(pfo->SetOperationFlags(FOF_NO_UI | if (FAILED(pfo->SetOperationFlags(FOF_NO_UI |
FOF_ALLOWUNDO | FOFX_ADDUNDORECORD |
FOF_NOERRORUI | FOF_NOERRORUI |
FOF_SILENT | FOF_SILENT |
FOFX_SHOWELEVATIONPROMPT | FOFX_SHOWELEVATIONPROMPT |
FOFX_RECYCLEONDELETE))) FOFX_RECYCLEONDELETE)))
return false; return false;
} else {
// For Windows 7 and Vista, RecycleOnDelete is the default behavior.
if (FAILED(pfo->SetOperationFlags(FOF_NO_UI |
FOF_ALLOWUNDO |
FOF_NOERRORUI |
FOF_SILENT |
FOFX_SHOWELEVATIONPROMPT)))
return false;
}
// Create an IShellItem from the supplied source path. // Create an IShellItem from the supplied source path.
base::win::ScopedComPtr<IShellItem> delete_item; base::win::ScopedComPtr<IShellItem> delete_item;

View File

@@ -17,7 +17,7 @@ class FilePath;
namespace chrome { namespace chrome {
enum { enum {
PATH_START = 1000, PATH_START = 2000,
DIR_APP = PATH_START, // Directory where dlls and data reside. DIR_APP = PATH_START, // Directory where dlls and data reside.
DIR_LOGS, // Directory where logs should be written. DIR_LOGS, // Directory where logs should be written.