CH-J Server ManagerSSH によるサーバー管理
メニュー
公開済みのソース

CH-J Server Manager

特定のアプリケーションリリースのディレクトリとファイルを閲覧できます。

ソースの ZIP をダウンロード
CH-J / Server Manager 196 ファイル
core-20261013T133631Z-faa4ab45100e 追加日時: 日付の記録なし · ビルド日時:
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-256de757268dbc4f0226549f8b4f41f9b7e585c856ee97fa0d43b17a0e95c281449
ファイル