try again with the updater !wip

pull/2420/head
Jamie Rees 6 years ago
parent 760987579a
commit ee12dc952d

@ -173,12 +173,12 @@ Task("Package")
Task("Publish")
.IsDependentOn("PrePublish")
//.IsDependentOn("Publish-Windows")
.IsDependentOn("Publish-Windows")
.IsDependentOn("Publish-Windows-32bit")
//.IsDependentOn("Publish-OSX")
//.IsDependentOn("Publish-Linux")
//.IsDependentOn("Publish-Linux-ARM")
//.IsDependentOn("Publish-Linux-ARM-64Bit")
.IsDependentOn("Publish-OSX")
.IsDependentOn("Publish-Linux")
.IsDependentOn("Publish-Linux-ARM")
.IsDependentOn("Publish-Linux-ARM-64Bit")
.IsDependentOn("Package");
Task("Publish-Windows")

@ -206,7 +206,7 @@ namespace Ombi.Schedule.Jobs.Ombi
updaterExtension = ".exe";
}
var updaterFile = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location),
"TempUpdate", "Updater", $"Ombi.Updater{updaterExtension}");
"TempUpdate", "updater", $"Ombi.Updater{updaterExtension}");
// Make sure the file is an executable
//ExecLinuxCommand($"chmod +x {updaterFile}");

@ -11,7 +11,7 @@ namespace Ombi.Updater
ProcessInfo GetCurrentProcess();
int GetCurrentProcessId();
ProcessInfo GetProcessById(int id);
void Kill(StartupOptions opts);
bool Kill(StartupOptions opts);
void KillAll(string processName);
void SetPriority(int processId, ProcessPriorityClass priority);
void WaitForExit(Process process);

@ -2,7 +2,7 @@
"profiles": {
"Ombi.Updater": {
"commandName": "Project",
"commandLineArgs": "--applicationPath \\\"C:\\\\Users\\\\Jamie\\\\Source\\\\Repos\\\\Ombi\\\\src\\\\Ombi\\\\bin\\\\Debug\\\\netcoreapp2.0\\\" --processname \\\"Ombi\\\" --startupArgs http://*:5000"
"commandLineArgs": "--applicationPath \"C:\\_git\\ombi\\src\\Ombi.Updater\\bin\\Debug\\netcoreapp2.0\" --processname \"Ombi\""
}
}
}

@ -29,7 +29,8 @@
},
"exclude": [
"bin",
"node_modules"
"node_modules",
"TempUpdate"
],
"angularCompilerOptions": {
"preserveWhitespaces": false

Loading…
Cancel
Save