AcManager.Tools.GameProperties.RhmService.EnsureRunned C# (CSharp) Method

EnsureRunned() private method

private EnsureRunned ( bool keepVisible = false ) : bool
keepVisible bool
return bool
        private bool EnsureRunned(bool keepVisible = false) {
            if (SettingsHolder.Drive.RhmLocation == null) return false;

            if (_process == null || _process.HasExitedSafe()) {
                DisposeHelper.Dispose(ref _process);
                if (!RunRhm(keepVisible)) return false;
            }

            return true;
        }