Skip to content

Commit 60ca291

Browse files
author
SimpleLang
committed
v3.88: 新增 Windows portable EXE(三档 69MB/个,Electron 31.7.7 + simplelogo.ico + #0a0a0c 深色背景)+ assets/simplelogo.ico 生成 + pack-exe.js 修复版本号/icon + electron/main.js 背景/标题更新
1 parent 97b4140 commit 60ca291

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ pkg/build/
1111
*.log
1212
.DS_Store
1313
*.bak
14+
build/pack/out/

‎assets/simplelogo.ico‎

73.3 KB
Binary file not shown.

‎build/pack/electron/main.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ function createWindow() {
1212
minWidth: 860,
1313
minHeight: 600,
1414
autoHideMenuBar: true,
15-
title: "Simple",
16-
backgroundColor: "#171310",
15+
title: "Simple v3.88",
16+
backgroundColor: "#0a0a0c",
1717
webPreferences: {
1818
contextIsolation: true,
1919
nodeIntegration: false,

‎build/pack/pack-exe.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function buildDir(ed) {
3737
if (!fs.existsSync(path.join(sharedNM, "electron"))) {
3838
const basePkg = {
3939
name: "simplelang-desktop-build",
40-
version: "3.66.0",
40+
version: "3.88.0",
4141
private: true,
4242
devDependencies: {
4343
electron: "^31.7.7",
@@ -55,7 +55,7 @@ for (const ed of EDITIONS) {
5555
catch (e) { /* 已存在忽略 */ }
5656
const pkg = {
5757
name: "simplelang-desktop-" + ed.key.toLowerCase(),
58-
version: "3.66.0",
58+
version: "3.88.0",
5959
description: "Simple (SIMPLE) 本地开发环境 " + ed.label,
6060
main: "main.js",
6161
author: "hicodehc",
@@ -67,6 +67,7 @@ for (const ed of EDITIONS) {
6767
directories: { output: path.join(OUT, "dist-" + ed.key) },
6868
win: {
6969
target: ["portable"],
70+
icon: "/workspace/hicodehc-site/assets/simplelogo.ico",
7071
signAndEditExecutable: false // 无证书不签名/不注入版本信息,避免拉取 winCodeSign(免 wine)
7172
},
7273
portable: {},

0 commit comments

Comments
 (0)