Published source
Download source ZIP
CH-J Server Manager
Browse directories and files for a specific application release.
CH-J / Server Manager
193 files
core-20261011T184039Z-4148710795d0
Added: Date not recorded · Built:
1
"use strict";3
const test = require("node:test");4
const assert = require("node:assert/strict");5
const { windowChromeOptions } = require("../src/main/bootstrap/windowChrome");7
test("Windows main window uses a dark native controls overlay", () => {8
assert.deepEqual(windowChromeOptions("win32"), {9
titleBarStyle: "hidden",10
titleBarOverlay: {11
color: "#07111f",12
symbolColor: "#d9eaff",13
height: 4014
}15
});16
});18
test("Linux uses the same dark controls and custom title bar as Windows", () => {19
assert.deepEqual(windowChromeOptions("linux"), windowChromeOptions("win32"));20
assert.equal(windowChromeOptions("linux").titleBarStyle, "hidden");21
});23
test("macOS keeps its native title bar", () => {24
assert.deepEqual(windowChromeOptions("darwin"), {});25
});SHA-256
031a003f0be9f4489ce1429eb7be2215fb9cc9d9e949e4787a7ebfb58c04fae7CH-J Proprietary Software License 1.14 · Source is provided under the CH-J Proprietary Software License 1.14. Its availability does not change the license terms or grant additional rights.
Archive SHA-256
5a8ea02d06a5643cf2330fe9f54b8767a06c1c59d36527705e536fa9dbca7614