build(system): 📦 拉取master的内容 (#306)
* feat(view): :sparkles:新增启动页 * fix(router): 🐛 修复路由参数问题 * feat(mobile): ✨ 增加移动端的启动页面 * perf(Mobile): ⚡ 处理登录页、以及默认加载消息列表 * perf(Mobile): ⚡ 处理登录、注册逻辑 * fix(config): 🐛 修复ios因Cargo.toml中系统限制条件排序问题导致无法启动 * style(login): 💄 完善登录页面和图标 * fix(Android): 🐛 修改Android中的安全距离和启动页面 * fix(style): 🐛 修改pc登录按钮的样式 修复计时器worker计时问题 修改一些样式 移除修改ip地址的测试功能 修复刷新接口时候判断的群聊问题 * feat(system): ✨ 增加获取系统盘的信息和文件磁盘占用情况功能 优化一些重要提示的样式 * fix(mac): 🐛 修复mac上点击系统托盘图标和程序坞图标不展示主窗口的问题 * fix(windows): 🐛 修复win上右键任务栏图标关闭应用后无法再打开主窗口的问题 closed #IBQB1H * feat(util): ✨ 增强录音音频响度 * feat(setting): ✨ 增加应用占用磁盘空间计算功能和可视化 * fix(hook): 🐛 修复音频文件命名不一致问题 * feat(view): ✨ 新增自动下载音频功能,优先播放本地音频,修复音频频谱波形异常问题 * fix(view): 🐛 修复发送语音后无法播放本地音频问题 * fix(mac): 🐛 修复mac语音播放问题 增加机器人样式和类型 * build(system): 📦 移除一些依赖,更新图标 * fix(view): 🐛 修复系统托盘在自动登录时不显示退出问题 优化在其他不需要显示window.$message提示的窗口可禁用 * perf(voice): ⚡ 优化录音组件的样式 * fix(store): 🐛 修复安卓无法获取安全区域问题 * feat(mobile): ✨ 新增和优化消息页面布局 * build(system): 📦 修改项目一些样式和图标 修复判断安卓的方法异步问题导致mac release版本页面不加载问题 * build(icon): 📦 更新除了mac系统的图标 * feat(mobile): ✨ 新增联系人页面 * feat(mobile): ✨ 新增点击加号图标的小弹窗页面 * fix(router): 🐛 补充提交路由文件,前一次提交缺少更新的路由文件 * build(system): 📦 拉取master的内容 --------- Co-authored-by: OrionMark <67956761@qq.com> Co-authored-by: 卡仔 <1271013637@qq.com>
This commit is contained in:
@@ -18,10 +18,10 @@ async function runScript(scriptPath, description) {
|
||||
try {
|
||||
execSync(`node ${scriptPath}`, { stdio: 'inherit' })
|
||||
const duration = ((performance.now() - startTime) / 1000).toFixed(2)
|
||||
console.log(chalk.green(`\n✓ ${description}完成 (${duration}s)\n`))
|
||||
console.log(chalk.green(`\n✅ ${description}完成 (${duration}s)\n`))
|
||||
return true
|
||||
} catch (error) {
|
||||
console.error(chalk.red(`\n✗ ${description}失败`))
|
||||
console.error(chalk.red(`\n❌ ${description}失败`))
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ function checkDependency(check) {
|
||||
const isVersionValid = compareVersions(version, check.minVersion) >= 0
|
||||
|
||||
if (isVersionValid) {
|
||||
console.log(chalk.green(`✓ ${check.name} 版本 ${output} 已安装\n`))
|
||||
console.log(chalk.green(`✅ ${check.name} 版本 ${output} 已安装\n`))
|
||||
return true
|
||||
} else {
|
||||
console.log(chalk.yellow(`⚠️ ${check.name} 版本过低`))
|
||||
@@ -135,7 +135,7 @@ function checkDependency(check) {
|
||||
}
|
||||
} catch (error) {
|
||||
const errorMessage = getFriendlyErrorMessage(error)
|
||||
console.log(chalk.red(`✗ ${check.name} 未安装`))
|
||||
console.log(chalk.red(`❌ ${check.name} 未安装`))
|
||||
console.log(chalk.red(` 原因: ${errorMessage}`))
|
||||
console.log(chalk.gray(` 👉 安装指南: ${INSTALL_GUIDES[check.name]}`))
|
||||
return false
|
||||
@@ -151,16 +151,16 @@ function checkWindowsDependency(check) {
|
||||
try {
|
||||
const isInstalled = check.checkInstalled()
|
||||
if (isInstalled) {
|
||||
console.log(chalk.green(`✓ ${check.name} 已安装`))
|
||||
console.log(chalk.green(`✅ ${check.name} 已安装`))
|
||||
return true
|
||||
} else {
|
||||
console.log(chalk.red(`✗ ${check.name} 未安装`))
|
||||
console.log(chalk.red(`❌ ${check.name} 未安装`))
|
||||
console.log(chalk.gray(` 👉 安装指南: ${INSTALL_GUIDES[check.name]}`))
|
||||
return false
|
||||
}
|
||||
} catch (error) {
|
||||
const errorMessage = getFriendlyErrorMessage(error)
|
||||
console.log(chalk.red(`✗ ${check.name} 检查失败`))
|
||||
console.log(chalk.red(`❌ ${check.name} 检查失败`))
|
||||
console.log(chalk.red(` 原因: ${errorMessage}`))
|
||||
return false
|
||||
}
|
||||
@@ -180,10 +180,10 @@ function main() {
|
||||
}
|
||||
|
||||
if (results.every(Boolean)) {
|
||||
console.log(chalk.green('\n✓ 所有环境检查通过!'))
|
||||
console.log(chalk.green('\n✅ 所有环境检查通过!'))
|
||||
process.exit(0)
|
||||
} else {
|
||||
console.log(chalk.red('\n✗ 环境依赖检查失败,请按照上述提示安装或更新依赖。'))
|
||||
console.log(chalk.red('\n❌ 环境依赖检查失败,请按照上述提示安装或更新依赖。'))
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,9 +18,9 @@ VITE_TENCENT_SECRET_ID=
|
||||
writeFileSync(envPath, defaultEnvContent, 'utf8')
|
||||
console.log(chalk.green('✨ 成功创建.env.local文件'))
|
||||
} catch (error) {
|
||||
console.log(chalk.red('\n✗ 创建.env.local文件失败。'))
|
||||
console.log(chalk.red('\n❌ 创建.env.local文件失败。'))
|
||||
process.exit(1)
|
||||
}
|
||||
} else {
|
||||
console.log(chalk.green('✓ .env.local文件已创建'))
|
||||
console.log(chalk.green('✅ .env.local文件已创建'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user