diff --git a/main.js b/main.js index 20a046c..815e439 100644 --- a/main.js +++ b/main.js @@ -19,7 +19,10 @@ function createWindow() { }, }); - win.loadFile(path.join(__dirname, 'renderer', 'station.html')); + // Design B(バイナリ雨オーロラ背景)をメインとして起動 + // Design A に切り替えたい場合: DESIGN=a npm start + const design = process.env.DESIGN === 'a' ? 'station.html' : 'station-b.html'; + win.loadFile(path.join(__dirname, 'renderer', design)); } app.whenReady().then(createWindow); diff --git a/renderer/station-b.html b/renderer/station-b.html new file mode 100644 index 0000000..71fff80 --- /dev/null +++ b/renderer/station-b.html @@ -0,0 +1,686 @@ + + + + + + + + posimai-station B + + + + + + + + +
+
+
+
+ +
+
+
00:00:00
+
+
+
+
+
+
+ +
+
Ubuntu PC
+
+
CPU
+
+
+
+
Memory
+
+
+
+
Disk (/)
+
+
+
+
Load Avg
+
+
1m
+
5m
+
15m
+
+
+
+
Uptime
+
Sessions
+
Node.js
+
Platform
+
+ posimai-dev を開く +
+ +
+
Vitals
+
+ + + + + + + + CPU + +
+
+
+ + + + + + MEM + + Memory +
+
+ + + + + + DISK + + Disk +
+
+
+
+ History +
+
CPU
+
Load
+
+
+
+ + + + + +
+
+
+ +
+
Services
+
+
+ +
+
Stream
+
+
+
+
+
+
posimai-station B
+ +
次の更新まで 30s
+
+
+ + +