mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 15:53:55 +00:00
1. Fixed edge case bug with installPath on Windows Service Manager
2. Updated Agent installer to copy .proxy file if present at install time 3. Updated proxy check on Linux/Gnome to only call gsettings if home folder is present for given user
This commit is contained in:
@@ -1747,7 +1747,7 @@ function serviceManager()
|
||||
require('fs').copyFileSync(options.servicePath, folder + '\\' + options.name + '\\' + options.target + '.exe');
|
||||
}
|
||||
options.servicePath = folder + '\\' + options.name + '\\' + options.target + '.exe';
|
||||
if (!options.installPath) { options.installPath = folder + '\\' + options.name + '\\'; }
|
||||
options.installPath = folder + '\\' + options.name + '\\';
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2192,7 +2192,7 @@ function serviceManager()
|
||||
}
|
||||
}
|
||||
|
||||
if (options.files)
|
||||
if (process.platform != 'win32' && options.files)
|
||||
{
|
||||
for (var i in options.files)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user