mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
try again with the updater !wip
This commit is contained in:
parent
760987579a
commit
ee12dc952d
5 changed files with 10 additions and 9 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue