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:
parent
8489567c5c
commit
80d2a6e756
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue