mirror of
https://github.com/stablyai/orca.git
synced 2026-09-30 08:03:12 +00:00
style: oxfmt fence modules
This commit is contained in:
@@ -235,11 +235,12 @@ function resolveMacUpdateInstallStartupUnsafe(options: {
|
||||
if (!attempt) {
|
||||
return { action: 'allow', reason: 'no-attempt' }
|
||||
}
|
||||
const monitorAlive = getMacUpdateProcessIdentityState(
|
||||
attempt.monitorPid,
|
||||
attempt.monitorStartedAtMs,
|
||||
options.readProcessStartedAtMs
|
||||
) !== 'dead'
|
||||
const monitorAlive =
|
||||
getMacUpdateProcessIdentityState(
|
||||
attempt.monitorPid,
|
||||
attempt.monitorStartedAtMs,
|
||||
options.readProcessStartedAtMs
|
||||
) !== 'dead'
|
||||
let shipItAlive = false
|
||||
if (!monitorAlive) {
|
||||
try {
|
||||
|
||||
@@ -72,4 +72,3 @@ export function readAllProcessCommands(): string {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -77,7 +77,9 @@ export abstract class UpdaterInstallSupport extends UpdaterCheckState {
|
||||
* behavior). Supervised headless serve is excluded — its supervisor owns restart/recovery, and
|
||||
* the monitor's recovery launch would open the GUI on a headless host.
|
||||
*/
|
||||
protected armMacUpdateInstallAttemptSafely(pendingVersion: string): MacUpdateInstallAttempt | null {
|
||||
protected armMacUpdateInstallAttemptSafely(
|
||||
pendingVersion: string
|
||||
): MacUpdateInstallAttempt | null {
|
||||
if (
|
||||
process.platform !== 'darwin' ||
|
||||
!app.isPackaged ||
|
||||
|
||||
Reference in New Issue
Block a user