zdg #72

Merged
zhangxuelin merged 21 commits from zdg into main 2024-07-26 14:39:20 +08:00
6 changed files with 5 additions and 3 deletions
Showing only changes of commit 22a678940d - Show all commits

View File

@ -12,7 +12,7 @@ asarUnpack:
- resources/**
win:
executableName: AIx
icon: resources/logo.ico
icon: resources/logo2.ico
nsis:
oneClick: false
allowToChangeInstallationDirectory: true

View File

@ -12,7 +12,7 @@ asarUnpack:
- resources/**
win:
executableName: AIx
icon: resources/logo.ico
icon: resources/logo2.ico
nsis:
oneClick: false
allowToChangeInstallationDirectory: true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 264 KiB

BIN
resources/logo2.ico Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 264 KiB

View File

@ -19,6 +19,7 @@ function createLoginWindow() {
show: false,
frame: false,
autoHideMenuBar: true,
icon: join(__dirname, '../../resources/logo2.ico'),
...(process.platform === 'linux' ? { icon } : {}),
webPreferences: {
preload: join(__dirname, '../preload/index.js'),
@ -53,6 +54,7 @@ function createMainWindow() {
show: false,
frame: false, // 无边框
autoHideMenuBar: true,
icon: join(__dirname, '../../resources/logo2.ico'),
...(process.platform === 'linux' ? { icon } : {}),
webPreferences: {
preload: join(__dirname, '../preload/index.js'),

View File

@ -69,8 +69,8 @@ const submitFile = (data) => {
let fileList = toRaw(data)
const { textbookId, levelFirstId, levelSecondId, fileSource, fileRoot } = sourceStore.query
//
let fileData = { textbookId, levelFirstId, levelSecondId, fileSource, fileRoot }
fileList.forEach(item => {
let fileData = { textbookId, levelFirstId, levelSecondId, fileSource, fileRoot }
fileData.fileShowName = item.fileData.fileShowName
fileData.fileFlag = item.fileData.fileFlag
item.fileData = fileData