https://github.com/vweevers/win-dummy-exe
Generate a dummy Windows exe with .NET.
https://github.com/vweevers/win-dummy-exe
dotnet exe jscript nodejs testing-tools windows
Last synced: 7 months ago
JSON representation
Generate a dummy Windows exe with .NET.
- Host: GitHub
- URL: https://github.com/vweevers/win-dummy-exe
- Owner: vweevers
- License: mit
- Created: 2018-05-19T16:57:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T17:49:56.000Z (almost 5 years ago)
- Last Synced: 2025-04-25T01:58:22.501Z (7 months ago)
- Topics: dotnet, exe, jscript, nodejs, testing-tools, windows
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# win-dummy-exe
**Generate a dummy Windows executable with .NET. Meant for testing.**
[](https://www.npmjs.org/package/win-dummy-exe)
[](https://www.npmjs.org/package/win-dummy-exe)
[](https://ci.appveyor.com/project/vweevers/win-dummy-exe)
[](https://david-dm.org/vweevers/win-dummy-exe)
[](https://standardjs.com)
## usage
```js
const dummy = require('win-dummy-exe')
const metadata = {
assemblyFileVersion: '1.0.0',
assemblyInformationalVersion: '1.0.0.1',
assemblyCopyright: 'me me me'
}
dummy(metadata, function (err, exe) {
if (err) throw err
// exe is an absolute path to a dummy.exe in a temporary directory
})
```
## install
With [npm](https://npmjs.org) do:
```
npm install win-dummy-exe
```
## license
[MIT](http://opensource.org/licenses/MIT) © Vincent Weevers