mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-15 07:20:49 +08:00
feat: 优化窗口大小管理功能,优化窗口状态保存与恢复逻辑
- 引入窗口大小管理器,初始化窗口大小管理 - 优化窗口状态保存与恢复,确保在迷你模式下正确应用窗口大小 - 移除不必要的代码,简化窗口管理逻辑 - 更新窗口创建逻辑,确保窗口大小和位置的正确性
This commit is contained in:
@@ -8,8 +8,6 @@ import * as NodeID3 from 'node-id3';
|
||||
import * as path from 'path';
|
||||
import * as os from 'os';
|
||||
import * as mm from 'music-metadata';
|
||||
// 导入文件类型库,这里使用CommonJS兼容方式导入
|
||||
// 对于file-type v21.0.0需要这样导入
|
||||
import { fileTypeFromFile } from 'file-type';
|
||||
|
||||
import { getStore } from './config';
|
||||
|
||||
Reference in New Issue
Block a user