72 Commits
Author SHA1 Message Date
Cheng Zhao 6daf749a38 To future me 2018-10-01 10:48:28 +09:00
Cheng Zhao fc54d9fa44 Merge pull request #74 from malept/better-icon-errors
Give more specific errors when rcedit cannot set an icon
2018-05-07 14:33:02 +09:00
Cheng Zhao 452c0c3ba5 Merge pull request #71 from barkingfoodog/add-get-resource-string
Added --get-resource-string
2018-02-12 15:13:28 +09:00
Cheng Zhao f0043c358e Merge pull request #67 from kumarharsh/clarify-readme
fix(readme): clarify usage of version string
2017-11-28 10:51:08 +09:00
Cheng Zhao 3b991ab711 Fix badge
I should use the one under electron-bot, let's figure out it later.
2017-09-26 16:37:32 +09:00
Cheng Zhao 088a4b4ec7 Merge pull request #63 from electron/create-if-no-exist
Fill default data when resource information is not there
2017-09-26 16:32:03 +09:00
Cheng Zhao ffd28d638d Automatically generate string table 2017-09-26 16:25:14 +09:00
Cheng Zhao bfcd7bac3f Fill default version info 2017-09-26 16:06:38 +09:00
Cheng Zhao 919a0211c8 Merge pull request #62 from electron/abspath
Resolve filepath before load it
2017-09-26 14:54:50 +09:00
Cheng Zhao 06b3188b60 Resolve filepath before load it
This solves some security limitations.
2017-09-26 14:51:40 +09:00
Cheng Zhao 14dcb05376 Fix the names of artifacts in appveyor 2017-09-26 14:40:26 +09:00
Cheng Zhao 2d1526e50b Update github token 2017-09-26 14:03:35 +09:00
Cheng Zhao 0f6dc22896 Merge pull request #61 from electron/upload-releases
Upload binaries to github releases
2017-09-26 12:34:50 +09:00
Cheng Zhao 2114311f28 zip => exe 2017-09-26 12:31:21 +09:00
Cheng Zhao 3d6f449a00 Upload binaries to github releases 2017-09-26 12:30:17 +09:00
Cheng Zhao 5918a2c593 Merge pull request #60 from electron/help
Add help message
2017-09-26 12:26:05 +09:00
Cheng Zhao 1884633086 Add help message for each command 2017-09-26 12:12:53 +09:00
Cheng Zhao eb9bc65991 Better message for unrecognized argument 2017-09-26 11:53:51 +09:00
Cheng Zhao 45ad933db5 Better message for unhandled argument 2017-09-25 11:58:34 +09:00
Cheng Zhao 8e010db92f Add help message 2017-09-25 11:57:11 +09:00
Cheng Zhao 955f140733 Merge pull request #59 from electron/set-empty-icon
Use en-us as langid when can't find one
2017-09-25 11:44:53 +09:00
Cheng Zhao b467f6ae2f Use en-us as langid when can't find one 2017-09-25 11:37:02 +09:00
Cheng Zhao fba8587163 Merge pull request #58 from electron/fix-icon
Fix setting icon
2017-09-15 10:58:40 +09:00
Cheng Zhao 3227fb0e64 Fix setting icon 2017-09-15 10:38:57 +09:00
Cheng Zhao 2a7460d643 Merge pull request #55 from electron/x64
Add x64 support
2017-09-13 15:42:59 +09:00
Cheng Zhao 9fc81a3ce3 x86 platform is named Win32 2017-09-13 15:37:42 +09:00
Cheng Zhao 51b1101d5e Fix pointer truncation in x64 2017-09-13 15:36:12 +09:00
Cheng Zhao f0f648476e Update README with simpler build information 2017-09-13 15:09:46 +09:00
Cheng Zhao 60c5bc8b60 Build x64 on appveyor 2017-09-13 15:04:26 +09:00
Cheng Zhao 784bce6fd9 Add x64 configuration 2017-09-13 15:02:08 +09:00
Cheng Zhao 68216af13b Simplify the gyp file 2017-09-13 14:59:43 +09:00
Cheng Zhao ee46dea54b Merge pull request #54 from electron/code-clean
Clean up the code base
2017-09-13 14:54:58 +09:00
Cheng Zhao 3a6565250e Do not rely on layout of struct 2017-09-13 14:50:36 +09:00
Cheng Zhao af37f5fd36 Improve code readability 2017-09-13 14:07:35 +09:00
Cheng Zhao 99b354ea24 Use _ suffix for private data members 2017-09-13 13:37:26 +09:00
Cheng Zhao 88f6a604d1 Member data names should use camelCase 2017-09-13 13:22:41 +09:00
Cheng Zhao 6c8eaecad9 Reorganize the methods 2017-09-13 13:14:40 +09:00
Cheng Zhao 8a89ca60e9 Fix the compilation warning 2017-09-13 12:50:31 +09:00
Cheng Zhao ecac442ed8 Do not add unnecessary const reference for primary types 2017-09-13 12:38:32 +09:00
Cheng Zhao 1c2aad6389 Be consistent on indentions and braces 2017-09-13 12:34:53 +09:00
Cheng Zhao d65120c631 Merge pull request #53 from electron/require-2015
Require Visual Studio 2015 for building
2017-09-13 12:27:27 +09:00
Cheng Zhao 43c59b1930 Use VS 2017 imagein appveyor 2017-09-13 11:39:23 +09:00
Cheng Zhao 9561cfe7a3 Require VS 2015 for building 2017-09-13 11:35:11 +09:00
Cheng Zhao c9e404d840 Merge pull request #52 from arnavb/master
Refactored second part of parse_version_string
2017-09-13 11:32:03 +09:00
Cheng Zhao 2ee68db2bb Merge pull request #42 from artiomn/master
`--get-version-string` command added.
2017-09-13 11:31:24 +09:00
Cheng Zhao bfbcf0b44d Cleanup the styles
TAB => spaces
\r\n => \n
2017-09-13 11:28:42 +09:00
Cheng Zhao 6d32fb3b47 Merge pull request #46 from robi-wan/xp_support
Support for Windows XP and Server 2003
2017-09-13 11:05:31 +09:00
Cheng Zhao b80739978f Merge pull request #26 from RaptDept/master
Fixes for SetIcon not removing existing icons, and VersionInfo data being erased on .NET and non-English binaries
2016-08-18 16:13:40 +09:00
Cheng Zhao 91664c0b76 Store filename in std::wstring 2016-07-03 10:09:42 +09:00
Cheng Zhao 465d4cdfd3 Merge pull request #23 from develar/master
fix "Unable to load file" when the exe in a Chinese name"
2016-07-03 00:52:48 +00:00
Cheng Zhao e6d318d9d3 Ignore .suo files in git 2016-05-17 19:45:40 +09:00
Cheng Zhao cef402d5d2 Fix styling issues 2016-05-17 19:45:15 +09:00
Cheng Zhao 5e39647444 Merge pull request #16 from mbragg12/master
Added in code to expose the change string function
2016-05-17 10:41:11 +00:00
Cheng Zhao df1bc0abdf Merge pull request #14 from muralidharand/master
Visual studio solution file added
2016-05-12 09:33:58 +09:00
Cheng Zhao eac202c95b Merge pull request #11 from rversteegen/master
Statically link the rtlib, to support, at least, stock Win XP and Win 10
2016-04-07 19:07:35 +09:00
Cheng Zhao 0ba03d779d Merge pull request #8 from geary/master
Add .editorconfig with two-space indents and Unix newlines
2016-01-30 11:22:23 +08:00
Cheng Zhao 07745144e9 TAB => spaces 2016-01-29 09:46:13 +08:00
Cheng Zhao 660b80503c Merge pull request #7 from geary/master
Fix issues #5 (compilation error with no MFC) and #6 (truncation of version fields to 8 bits)
2016-01-29 09:44:58 +08:00
Cheng Zhao f2e68e8663 Merge pull request #1 from GeertvanHorrik/pr/typo
Fixed typo in ScopedResourceUpdater
2015-03-08 17:37:02 -07:00
Cheng Zhao 50e9c4c418 Bump v0.2.0. 2013-11-14 10:34:45 +08:00
Cheng Zhao c5ffd08fef Specify English as language when setting icon. 2013-11-14 10:28:07 +08:00
Cheng Zhao 00b44e9be7 Better doc. 2013-11-06 16:27:00 +08:00
Cheng Zhao 906358fbd7 Tell the original project we borrowed code from. 2013-11-06 16:24:10 +08:00
Cheng Zhao ac143965cd Add ability to set icon. 2013-11-06 16:17:05 +08:00
Cheng Zhao 0ab855d3e8 Add .rc file. 2013-11-06 13:37:13 +08:00
Cheng Zhao ef28eae1d8 Shorten function names. 2013-11-06 13:31:34 +08:00
Cheng Zhao 065fd2f7ee Enable adding new custom string to exe. 2013-11-06 13:28:08 +08:00
Cheng Zhao cb6639eb96 Also set version string when setting file version and product version. 2013-11-05 22:29:50 +08:00
Cheng Zhao 98cd19cb1c Enable changing file version and product version. 2013-11-05 22:10:13 +08:00
Cheng Zhao 987cff018d Correct docs. 2013-11-05 21:46:24 +08:00
Cheng Zhao c597d3bd91 Initial work to change existing version strings. 2013-11-05 21:44:47 +08:00
Cheng Zhao ad8b35c64d Initial commit. 2013-11-05 19:31:48 +08:00