-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from Muska-Ami/dev
Update v0.2.1+1
- Loading branch information
Showing
33 changed files
with
149 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,53 @@ | ||
使用方法请参考 NyaLCF Wiki 食用~ [Wiki](https://docs-nyalcf.1l1.icu) | ||
|
||
应用户需求,Nya LoCyanFrp! 开始开发 CLI 版本,欢迎使用和反馈问题! | ||
**Breaking changes: 本版本修改了启动器包名,需要手动迁移配置文件位置** | ||
**** | ||
|
||
请参照 [如何重置启动器](https://docs-nyalcf.1l1.icu/gui/chang-jian-wen-ti-jie-da#q-ru-he-zhong-zhi-qi-dong-qi) 找到您的数据目录,并将 `moe.xmcn.nyanana` 文件夹改名为 `moe.muska.ami`,造成不便请谅解。 | ||
|
||
此外,要使用 LoCyan Mirrors 镜像源,请修改你的 `frpc.json` : | ||
|
||
```json | ||
{ | ||
// ... | ||
"lists": { | ||
// ... | ||
"frpc_download_mirrors": [ | ||
// ... | ||
{ | ||
"name": "LoCyan Mirrors", | ||
"id": "locyan-mirror", | ||
// 将这里的 github-releases 改成 github-release | ||
// 请不要把注释粘进去 | ||
"format": "https://mirrors.locyan.cn/github-release/{owner}/{repo}/{release_name}/frp_LoCyanFrp-{version_pure}_{platform}_{arch}.{suffix}" | ||
} | ||
] | ||
} | ||
} | ||
|
||
``` | ||
|
||
[//]: # (应用户需求,Nya LoCyanFrp! 开始开发 CLI 版本,欢迎使用和反馈问题!) | ||
|
||
## 更新日志 | ||
|
||
### GUI | ||
|
||
- 更新 Flutter | ||
- 修改了欢迎语判定 | ||
- 下载 Frpc 添加了镜像选择 | ||
- 适配了核心登出会吊销 Token | ||
- 更改了包名 | ||
- 修复写错了一个镜像信息 | ||
|
||
### CLI | ||
|
||
- 添加 Frpc 下载功能 | ||
- 适配了核心登出会吊销 Token | ||
-/- | ||
|
||
### 其他 | ||
|
||
- 重写了下载 Frpc 核心逻辑 | ||
- 现在登出会调用请求吊销 Token | ||
- 将网络请求方法改为静态方法 | ||
- Typo `install-dependecy.sh` -> `install-dependency.sh` | ||
-/- | ||
|
||
## 版本信息 | ||
|
||
- nyalcf_gui: 0.2.1 | ||
- nyalcf_cli: 0.0.1 | ||
- nyalcf_core,nyalcf_inject: 0.1.6 | ||
|
||
-/- | ||
<!-- Some change log here --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file configures the static analysis results for your project (errors, | ||
# warnings, and lints). | ||
|
||
analyzer: | ||
exclude: | ||
- 'tools/**' | ||
|
||
linter: | ||
rules: | ||
prefer_single_quotes: true | ||
always_use_package_imports: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
/// Frpc 版本列表模型 | ||
@deprecated | ||
class FrpcListModel { | ||
FrpcListModel({ | ||
required this.name, | ||
required this.description, | ||
required this.assets, | ||
}); | ||
|
||
/// 版本名 | ||
final String name; | ||
/// 版本介绍 | ||
final String description; | ||
/// 资源列表 | ||
final List<Map<String, dynamic>> assets; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/// 隧道信息模型 | ||
class ProxyInfoModel { | ||
ProxyInfoModel({ | ||
required this.proxyName, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
/// 隧道状态模型 | ||
class ProxyStatusModel { | ||
ProxyStatusModel({ | ||
required this.status, | ||
}); | ||
|
||
/// 是否在线(Why String?) | ||
final String? status; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.