mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-07 05:18:45 +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/exe.gns3server/**
|
||||||
- dist/ubridge/**
|
- dist/ubridge/**
|
||||||
- dist/vpcs/**
|
- dist/vpcs/**
|
||||||
|
- dist/dynamips/**
|
||||||
|
|
||||||
mac:
|
mac:
|
||||||
category: public.app-category.developer-tools
|
category: public.app-category.developer-tools
|
||||||
|
@ -200,9 +200,15 @@ async function setPATHEnv() {
|
|||||||
path.join(path.dirname(app.getPath('exe')), '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
|
// prevent adding duplicates
|
||||||
let extra = [
|
let extra = [
|
||||||
...vpcsLookup
|
...vpcsLookup,
|
||||||
|
...dynamipsLookup
|
||||||
].filter((dir) => {
|
].filter((dir) => {
|
||||||
return process.env.PATH.indexOf(dir) < 0;
|
return process.env.PATH.indexOf(dir) < 0;
|
||||||
});
|
});
|
||||||
|
@ -58,6 +58,17 @@ DEPENDENCIES = {
|
|||||||
'vpcs.exe'
|
'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