fix(linux): single-line description and correct desktop.entry for valid .desktop file (#325)

This commit is contained in:
paisley
2026-03-06 16:22:25 +08:00
committed by GitHub
Unverified
parent e7d4cf73d5
commit 3ce4b5d17a
5 changed files with 62 additions and 9 deletions

View File

@@ -65,7 +65,7 @@ describe('gateway process policy helpers', () => {
expect(shouldDeferRestart({ state: 'error', startLock: false })).toBe(false);
});
it('drops deferred restart once lifecycle recovers to running', () => {
it('executes deferred restart even after lifecycle recovers to running', () => {
expect(
getDeferredRestartAction({
hasPendingRestart: true,
@@ -73,7 +73,7 @@ describe('gateway process policy helpers', () => {
startLock: false,
shouldReconnect: true,
})
).toBe('drop');
).toBe('execute');
});
it('waits deferred restart while lifecycle is still busy', () => {