mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 12:34:45 +08:00
fix
This commit is contained in:
@ -17,8 +17,8 @@ import 'package:window_manager/window_manager.dart';
|
||||
import '../base/ui.dart';
|
||||
|
||||
class AppConf {
|
||||
static const String appVersion = "2.9.15 Beta";
|
||||
static const int appVersionCode = 29;
|
||||
static const String appVersion = "2.9.9 Beta";
|
||||
static const int appVersionCode = 26;
|
||||
static const String appVersionDate = "2023-11-11";
|
||||
|
||||
static const String gitlabHomeUrl =
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
import 'dart:convert';
|
||||
import 'dart:ffi';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:ffi/ffi.dart';
|
||||
import 'package:win32/win32.dart';
|
||||
@ -18,7 +17,7 @@ class Win32Credentials {
|
||||
{required String credentialName,
|
||||
required String userName,
|
||||
required String password}) {
|
||||
final examplePassword = utf8.encode(password) as Uint8List;
|
||||
final examplePassword = utf8.encode(password);
|
||||
final blob = examplePassword.allocatePointer();
|
||||
|
||||
final credential = calloc<CREDENTIAL>()
|
||||
|
@ -18,10 +18,16 @@ class AboutUI extends BaseUI<AboutUIModel> {
|
||||
const SizedBox(height: 64),
|
||||
Image.asset("assets/app_logo.png", width: 64, height: 64),
|
||||
const SizedBox(height: 6),
|
||||
const Text(
|
||||
"星际公民盒子 V${AppConf.appVersion}",
|
||||
style: TextStyle(fontSize: 21),
|
||||
),
|
||||
if (AppConf.isMSE)
|
||||
const Text(
|
||||
"SCN公民盒子 V${AppConf.appVersion}",
|
||||
style: TextStyle(fontSize: 18),
|
||||
)
|
||||
else
|
||||
const Text(
|
||||
"星际公民盒子 V${AppConf.appVersion}",
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
Button(
|
||||
onPressed: model.checkUpdate,
|
||||
|
@ -587,8 +587,8 @@ class HomeUI extends BaseUI<HomeUIModel> {
|
||||
"为注册表项添加 ForcedPhysicalSectorSizeInBytes 值 模拟旧设备。硬盘分区(${item.value})"),
|
||||
"eac_file_miss": const MapEntry("EasyAntiCheat 文件丢失",
|
||||
"未在 LIVE 文件夹找到 EasyAntiCheat 文件 或 文件不完整,请使用 RSI 启动器校验文件"),
|
||||
"eac_not_install": const MapEntry("EasyAntiCheat 未安装",
|
||||
"EasyAntiCheat 未安装,请点击修复为您一键安装。(在 EAC 完成首次启动前,本条目持续存在)"),
|
||||
"eac_not_install": const MapEntry("EasyAntiCheat 未安装 或 未正常退出",
|
||||
"EasyAntiCheat 未安装,请点击修复为您一键安装。(在游戏正常启动并结束前,该问题会一直出现,若您因为其他原因游戏闪退,可忽略此条目)"),
|
||||
"cn_user_name":
|
||||
const MapEntry("中文用户名!", "中文用户名可能会导致游戏启动/安装错误! 点击修复按钮查看修改教程!"),
|
||||
"cn_install_path": MapEntry("中文安装路径!",
|
||||
|
@ -27,8 +27,10 @@ class IndexUI extends BaseUI<IndexUIModel> {
|
||||
children: [
|
||||
Image.asset("assets/app_logo.png", width: 24, height: 24),
|
||||
const SizedBox(width: 12),
|
||||
const Text(
|
||||
"星际公民盒子 V${AppConf.appVersion}${AppConf.isMSE ? " MSE" : ""}"),
|
||||
if (AppConf.isMSE)
|
||||
const Text("SCN公民盒子 V${AppConf.appVersion}")
|
||||
else
|
||||
const Text("星际公民盒子 V${AppConf.appVersion}"),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user