Skip to content

Configuration

⚙️ Configuration: astra.config.js

Create a config file at the root of your project:

export default {
outFile: 'dist/app.exe',
esbuild: {
// esbuild options (optional)
},
modifyMetadata: true, // modify metadata of the executable (useful if you have macOS and don't have wine installed)
exe: {
companyName: 'Your Company', // your company name
productName: 'Your App', // name of your app
fileDescription: 'Your App Description', // description of your app
productVersion: '1.0.0', // version of your app
fileVersion: '1.0.0.0', // file version
icon: 'path/to/icon.ico', // path to the app icon (optional)
copyright: 'Copyright © 2023 Your Company', // copyright notice (optional)
}
}