1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-12 19:10:21 +03:00

Some users are confused by the default artifact names.

Clean things up a little bit.
This commit is contained in:
Marcelo Bezerra 2025-01-29 22:30:07 +01:00
parent 8489567c5c
commit 80d2a6e756

View file

@ -27,6 +27,9 @@ module.exports = {
result.artifacts.forEach(artifact => {
var artifactStr = artifact.toString();
var newPath = path.join(path.dirname(artifactStr), baseName + path.extname(artifactStr));
newPath.replace('win32_ia32', 'Win32');
newPath.replace('win32_x64', 'Win64');
newPath.replace('darwin', 'MacOS');
fs.renameSync(artifactStr, newPath);
console.log('Artifact: ' + newPath);
});