Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update frpc version #206

Merged
merged 5 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ jobs:
with:
name: "Linux Artifact(Dist)"
path: dist/
- name: Update APT Source
- name: Upload DEB Package
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
with:
username: root
Expand Down
8 changes: 5 additions & 3 deletions RELEASE_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@

### CLI

- 修复一个日志输出
-/-

### 其他

#### NyaLCF Core

- 修复请求不携带自定义 UA 问题
- 更新 Frpc 版本

## 版本信息

- nyalcf_gui: 0.2.3
- nyalcf_cli: 0.0.3
- nyalcf_env: 1.0.0
- nyalcf_core,nyalcf_inject: 1.2.1
- nyalcf_core,nyalcf_inject: 1.2.2

<!-- Some change log here -->
6 changes: 3 additions & 3 deletions nyalcf_cli/lib/commands/download.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ class Download implements CommandImplement {
await DownloadFrpc.download(
arch: _selectedArch,
platform: platform,
version: '0.51.3-4',
releaseName: 'LoCyanFrp-0.51.3-4 #2024082401',
version: '0.51.3-6',
releaseName: 'LoCyanFrp-0.51.3-6 #2024100301',
progressCallback: callback,
cancelToken: _cancelToken,
useMirror: false,
);
stdout.write('\rPlease wait, extracting frpc...\n');
await FrpcArchive.extract(
platform: platform, arch: _selectedArch, version: '0.51.3-4');
platform: platform, arch: _selectedArch, version: '0.51.3-6');
} else {
Logger.error(
'Unsupported system! If you believe this is wrong, please provide arch manually in command.');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class FrpcConfigurationStorage extends JsonConfiguration {
@override
Future<Map<String, dynamic>> get defConfig async => {
'settings': {
'frpc_version': '0.51.3-4',
'frpc_version': '0.51.3-6',
'frpc_download_mirror': true,
'frpc_download_mirror_id': 'muska-github-mirror',
},
Expand Down
2 changes: 1 addition & 1 deletion nyalcf_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nyalcf_core
description: 'Nya LoCyanFrp! core module.'
version: 1.2.1
version: 1.2.2
homepage: https://nyalcf.1l1.icu
publish_to: none
# repository: https://github.com/my_org/my_repo
Expand Down
2 changes: 1 addition & 1 deletion nyalcf_gui/nyalcf_core_extend/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nyalcf_core_extend
description: "Nya LoCyanFrp! core extend module."
version: 1.2.1
version: 1.2.2
homepage: https://nyalcf.1l1.icu
publish_to: none

Expand Down
2 changes: 1 addition & 1 deletion nyalcf_gui/nyalcf_inject_extend/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nyalcf_inject_extend
description: "Nya LoCyanFrp! communication injector extend module."
version: 1.2.1
version: 1.2.2
homepage: https://nyalcf.1l1.icu
publish_to: none

Expand Down
10 changes: 5 additions & 5 deletions nyalcf_gui/nyalcf_ui/lib/models/frpc_download_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ Widget frpcDownloadDialog(BuildContext context) {
final res = await DownloadFrpc.download(
arch: _fsCtr.arch[_fsCtr.frpcDownloadArch.value]['arch'],
platform: _fsCtr.platform,
version: '0.51.3-4',
releaseName: 'LoCyanFrp-0.51.3-4 #2024082401',
version: '0.51.3-6',
releaseName: 'LoCyanFrp-0.51.3-6 #2024100301',
progressCallback: _fsCtr.downloadFrpcCallback,
cancelToken: _fsCtr.downloadCancelToken,
useMirror: _fcs.getSettingsFrpcDownloadMirror(),
Expand All @@ -61,13 +61,13 @@ Widget frpcDownloadDialog(BuildContext context) {
final resExtract = FrpcArchive.extract(
platform: _fsCtr.platform,
arch: _fsCtr.arch[_fsCtr.frpcDownloadArch.value]['arch'],
version: '0.51.3-4',
version: '0.51.3-6',
);
if (await resExtract) {
Get.close(0);
Get.close(0);
_fcs.setSettingsFrpcVersion('0.51.3-4');
_fcs.addInstalledVersion('0.51.3-4');
_fcs.setSettingsFrpcVersion('0.51.3-6');
_fcs.addInstalledVersion('0.51.3-6');
_fcs.save();
_fsCtr.load();
}
Expand Down
2 changes: 1 addition & 1 deletion nyalcf_gui/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nyalcf
description: "[GUI]The next generation of LoCyanFrp launcher."
version: 0.2.3+3
version: 0.2.3+4
homepage: https://nyalcf.1l1.icu
publish_to: 'none'

Expand Down
2 changes: 1 addition & 1 deletion nyalcf_inject/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nyalcf_inject
description: "Nya LoCyanFrp! communication injector module."
version: 1.2.1
version: 1.2.2
homepage: https://nyalcf.1l1.icu
publish_to: 'none'

Expand Down