try again with the updater !wip

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

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

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

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

@ -2,7 +2,7 @@
"profiles": { "profiles": {
"Ombi.Updater": { "Ombi.Updater": {
"commandName": "Project", "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": [ "exclude": [
"bin", "bin",
"node_modules" "node_modules",
"TempUpdate"
], ],
"angularCompilerOptions": { "angularCompilerOptions": {
"preserveWhitespaces": false "preserveWhitespaces": false

Loading…
Cancel
Save