mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 23:03:22 +02:00
25 lines
733 B
JavaScript
25 lines
733 B
JavaScript
var packager = require('electron-packager');
|
|
var options = {
|
|
dir: __dirname,
|
|
name: "hifi-screenshare",
|
|
version: "0.1.0",
|
|
overwrite: true,
|
|
prune: true,
|
|
arch: "x64",
|
|
platform: "win32",
|
|
CompanyName: "High Fidelity, Inc.",
|
|
FileDescription: "High Fidelity Screenshare",
|
|
OriginalFilename: "hifi-screenshare.exe",
|
|
ignore: "electron-packager|README.md|CMakeLists.txt|packager.js|.gitignore"
|
|
};
|
|
|
|
|
|
// call the packager to produce the executable
|
|
packager(options, function(error, appPath) {
|
|
if (error) {
|
|
console.error("There was an error writing the packaged console: " + error.message);
|
|
process.exit(1);
|
|
} else {
|
|
console.log("Wrote new app to " + appPath);
|
|
}
|
|
});
|