Dynamips delivery with WebUI, Fixes: #326

This commit is contained in:
ziajka 2019-03-05 12:40:19 +01:00
parent f471d8134a
commit a7a036ed8a
3 changed files with 20 additions and 2 deletions

View File

@ -21,6 +21,7 @@ extraFiles:
- dist/exe.gns3server/**
- dist/ubridge/**
- dist/vpcs/**
- dist/dynamips/**
mac:
category: public.app-category.developer-tools

View File

@ -199,10 +199,16 @@ async function setPATHEnv() {
path.join(__dirname, 'dist', 'vpcs'),
path.join(path.dirname(app.getPath('exe')), 'dist', 'vpcs')
];
const dynamipsLookup = [
path.join(__dirname, 'dist', 'dynamips'),
path.join(path.dirname(app.getPath('exe')), 'dist', 'dynamips')
];
// prevent adding duplicates
let extra = [
...vpcsLookup
...vpcsLookup,
...dynamipsLookup
].filter((dir) => {
return process.env.PATH.indexOf(dir) < 0;
});

View File

@ -58,6 +58,17 @@ DEPENDENCIES = {
'vpcs.exe'
]
}
},
'dynamips': {
'releases': 'https://api.github.com/repos/GNS3/dynamips/releases',
'version': '0.2.17',
'files': {
'windows': [
'cygwin1.dll',
'dynamips.exe',
'nvram_export.exe'
]
}
}
}