CH-J Server Manager透過 SSH 管理伺服器
選單
已發布的原始碼

CH-J Server Manager

瀏覽特定應用程式版本的目錄與檔案。

下載原始碼 ZIP
CH-J / Server Manager 368 個檔案
core-20261017T201717Z-057348c4a70f 新增時間: 未記錄日期 · 建置時間:
windowChrome.test.js 新增時間: 未記錄日期 784 B · 25 行
程式碼 下載檔案
1"use strict";
3const test = require("node:test");
4const assert = require("node:assert/strict");
5const { windowChromeOptions } = require("../src/main/bootstrap/windowChrome");
7test("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: 40
14 }
15 });
16});
18test("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});
23test("macOS keeps its native title bar", () => {
24 assert.deepEqual(windowChromeOptions("darwin"), {});
25});
SHA-256031a003f0be9f4489ce1429eb7be2215fb9cc9d9e949e4787a7ebfb58c04fae7

CH-J Proprietary Software License 1.14 · 原始碼依 CH-J Proprietary Software License 1.14 提供。公開原始碼不會改變授權條款,也不會授予額外的權利。

壓縮檔 SHA-256cf4455b698f0f28e456a37b1834976a0194d8486acb7101052d59a838745cca3
檔案