mirror of
https://github.com/S2-/gitlit
synced 2025-08-03 21:00:04 +02:00
packager
This commit is contained in:
42
app/node_modules/rcedit/README.md
generated
vendored
Normal file
42
app/node_modules/rcedit/README.md
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
# node-rcedit
|
||||
|
||||
[](https://travis-ci.org/electron/node-rcedit)
|
||||
[](https://ci.appveyor.com/project/electron-bot/node-rcedit/branch/master)
|
||||
|
||||
Node module to edit resources of Windows executables.
|
||||
|
||||
## Building
|
||||
|
||||
* Clone the repository
|
||||
* Run `npm install`
|
||||
* Run `npm test` to run the tests
|
||||
|
||||
## Docs
|
||||
|
||||
```js
|
||||
var rcedit = require('rcedit')
|
||||
```
|
||||
On platforms other than Windows, you will need to have [Wine](http://winehq.org)
|
||||
1.6 or later installed and in the system path.
|
||||
|
||||
### `rcedit(exePath, options, callback)`
|
||||
|
||||
`exePath` is the path to the Windows executable to be modified.
|
||||
|
||||
`options` is an object that can contain following fields:
|
||||
|
||||
* `version-string` - An object containing properties to change the `exePath`'s
|
||||
version string.
|
||||
* `file-version` - File's version to change to.
|
||||
* `product-version` - Product's version to change to.
|
||||
* `icon` - Path to the icon file (`.ico`) to set as the `exePath`'s default icon.
|
||||
* `requested-execution-level` - Requested execution level to change to, must be
|
||||
either `asInvoker`, `highestAvailable`, or `requireAdministrator`. See
|
||||
[here](https://msdn.microsoft.com/en-us/library/6ad1fshk.aspx#Anchor_9) for
|
||||
more details.
|
||||
* `application-manifest` - String path to a local manifest file to use.
|
||||
See [here](https://msdn.microsoft.com/en-us/library/windows/desktop/aa374191.aspx)
|
||||
for more details.
|
||||
|
||||
`callback` is the `Function` called when the command completes. The function
|
||||
signature is `function (error)`.
|
Reference in New Issue
Block a user