mirror of
https://github.com/EasyTier/astral.git
synced 2025-05-19 10:30:24 +00:00
1
This commit is contained in:
@@ -1,16 +1,40 @@
|
||||
# fltier
|
||||
# AstralET 游戏联机工具
|
||||
|
||||
A new Flutter project.
|
||||
[](https://github.com/ldoubil/astral)
|
||||
|
||||
## Getting Started
|
||||
## 预览
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
This project is a starting point for a Flutter application.
|
||||
## 使用教程
|
||||
|
||||
A few resources to get you started if this is your first Flutter project:
|
||||
1. **下载并安装**
|
||||
前往 [GitHub 项目页面](https://github.com/ldoubil/astral) 下载最新版本的 AstralET。
|
||||
|
||||
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
|
||||
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
|
||||
2. **启动应用**
|
||||
安装完成后,启动 AstralET。
|
||||
|
||||
For help getting started with Flutter development, view the
|
||||
[online documentation](https://docs.flutter.dev/), which offers tutorials,
|
||||
samples, guidance on mobile development, and a full API reference.
|
||||
3. **开始联机**
|
||||
- 修改你喜欢的名字和房间密码,然后点击开始即可(如果无法获取到IP尝试管理员启动或者看看防火墙-后期更新会解决这个问题)。
|
||||
|
||||
4. **没有第四步了**
|
||||
- 剩下的功能我相信你一看就懂.
|
||||
|
||||
|
||||
## 介绍
|
||||
|
||||
AstralET 是一款基于 **Flutter** 和 **easytier** 开发的轻量级游戏联机工具,旨在为玩家提供简单、高效的联机体验。
|
||||
|
||||
## 特性
|
||||
|
||||
- **内置 easytier**:将 easytier 直接编译到 AstralET 中,无需额外安装,也不会保留任何后台进程。
|
||||
- **即开即用**:联机时启动应用,结束后关闭即可,操作简单便捷。
|
||||
- **活跃维护**:作者积极更新,随时修复问题并优化功能(上班摸鱼成果)。
|
||||
|
||||
## 联系我们 & 功能建议
|
||||
|
||||
- **QQ 群**: [点击加入 QQ 群](https://qm.qq.com/q/r4VsExDDt6)
|
||||
- **GitHub Issues**: [提交问题或建议](https://github.com/ldoubil/astral/issues)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 154 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
+2
-2
@@ -3,8 +3,8 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_localizations/flutter_localizations.dart';
|
||||
import 'package:system_tray/system_tray.dart';
|
||||
import 'dart:io';
|
||||
import 'screens/主屏幕.dart';
|
||||
import 'config/主题配置.dart';
|
||||
import 'screens/Home.dart';
|
||||
import 'config/themeconfiguration.dart';
|
||||
import 'config/app_config.dart';
|
||||
|
||||
// 定义应用程序的主要StatefulWidget
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../screens/首页.dart';
|
||||
import '../screens/设置.dart';
|
||||
import '../screens/关于.dart';
|
||||
import '../screens/房间.dart';
|
||||
import '../screens/front.dart';
|
||||
import '../screens/settings.dart';
|
||||
import '../screens/about.dart';
|
||||
import '../screens/kvroom.dart';
|
||||
|
||||
class NavItem {
|
||||
final String label;
|
||||
+2
-2
@@ -2,9 +2,9 @@ import 'package:flutter/material.dart';
|
||||
import 'package:ASTRAL/src/rust/frb_generated.dart';
|
||||
import 'package:window_manager/window_manager.dart';
|
||||
import 'app.dart';
|
||||
import 'config/窗口配置.dart';
|
||||
import 'config/windowconfiguration.dart';
|
||||
import 'config/app_config.dart';
|
||||
import 'utils/状态.dart';
|
||||
import 'utils/kv_state.dart';
|
||||
import 'package:provider/provider.dart'; // 添加这一行
|
||||
import 'package:tray_manager/tray_manager.dart';
|
||||
import 'package:ASTRAL/utils/app_info.dart';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:window_manager/window_manager.dart';
|
||||
import '../widgets/窗口控制按钮.dart';
|
||||
import '../widgets/主题选择器.dart';
|
||||
import '../utils/主题工具.dart';
|
||||
import '../config/导航配置.dart';
|
||||
import '../widgets/window_control_buttons.dart';
|
||||
import '../widgets/theme_selector.dart';
|
||||
import '../utils/theme_tools.dart';
|
||||
import '../config/navigationconfiguration.dart';
|
||||
|
||||
class MainScreen extends StatefulWidget {
|
||||
final Function toggleThemeMode;
|
||||
@@ -2,13 +2,13 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:ASTRAL/src/rust/api/simple.dart';
|
||||
import 'package:ASTRAL/utils/%E7%8A%B6%E6%80%81.dart';
|
||||
import 'package:ASTRAL/utils/kv_state.dart';
|
||||
import 'package:ASTRAL/utils/app_info.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:fl_chart/fl_chart.dart';
|
||||
import 'dart:async';
|
||||
import 'package:provider/provider.dart';
|
||||
import '../widgets/卡片.dart';
|
||||
import '../widgets/card.dart';
|
||||
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
|
||||
import '../utils/runin.dart';
|
||||
|
||||
@@ -3,10 +3,10 @@ import 'dart:convert';
|
||||
import 'package:flutter/services.dart'; // 添加这一行导入剪贴板服务
|
||||
|
||||
import 'package:ASTRAL/src/rust/api/simple.dart';
|
||||
import 'package:ASTRAL/utils/%E7%8A%B6%E6%80%81.dart';
|
||||
import 'package:ASTRAL/utils/kv_state.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import '../widgets/卡片.dart';
|
||||
import '../widgets/card.dart';
|
||||
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
|
||||
|
||||
/// 玩家信息模型类
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../config/app_config.dart';
|
||||
import '../utils/ping_util.dart';
|
||||
import 'package:ASTRAL/utils/状态.dart';
|
||||
import 'package:ASTRAL/utils/kv_state.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
class SettingsPage extends StatefulWidget {
|
||||
@@ -1,10 +1,10 @@
|
||||
# Project-level configuration.
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
project(fltier LANGUAGES CXX)
|
||||
project(astral LANGUAGES CXX)
|
||||
|
||||
# The name of the executable created for the application. Change this to change
|
||||
# the on-disk name of your application.
|
||||
set(BINARY_NAME "fltier")
|
||||
set(BINARY_NAME "astral")
|
||||
|
||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||
# versions of CMake.
|
||||
|
||||
Reference in New Issue
Block a user