mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-18 12:46:23 +00:00
Dynamips delivery with WebUI, Fixes: #326
This commit is contained in:
parent
f471d8134a
commit
a7a036ed8a
@ -21,6 +21,7 @@ extraFiles:
|
||||
- dist/exe.gns3server/**
|
||||
- dist/ubridge/**
|
||||
- dist/vpcs/**
|
||||
- dist/dynamips/**
|
||||
|
||||
mac:
|
||||
category: public.app-category.developer-tools
|
||||
|
@ -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;
|
||||
});
|
||||
|
@ -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'
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user