mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Cross-platform system tray for `omniroute --tray`: Windows uses a PowerShell NotifyIcon script (zero native binary, AV-safe); macOS/Linux use systray2 lazy-installed at runtime into ~/.omniroute/runtime/. Includes per-platform autostart (LaunchAgent / .desktop / registry) and `omniroute config tray <enable|disable>` CLI command. DISPLAY added to env-sync allowlist as an OS/X11 variable, not an OmniRoute config variable.
9 lines
316 B
TypeScript
9 lines
316 B
TypeScript
import { test } from "node:test";
|
|
import assert from "node:assert/strict";
|
|
import { isAutoStartEnabled } from "../../../bin/cli/tray/autostart.ts";
|
|
|
|
test("isAutoStartEnabled does not throw and returns boolean", async () => {
|
|
const result = await isAutoStartEnabled();
|
|
assert.equal(typeof result, "boolean");
|
|
});
|