Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
lollipopkit committed Jul 3, 2024
1 parent a899dd2 commit 1fc03c9
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 18 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ Please refrain from using it in production environments or for critical data.


## ⬇️ Use
🎉 **The `Android / Linux / Windows` version are now built via GitHub Actions**

[iOS & macOS](https://apps.apple.com/app/id6476033062) / [Android & Linux & Windows](https://github.com/lollipopkit/flutter_gpt_box/releases)
Platform | From
--- | ---
iOS & macOS | [AppStore](https://apps.apple.com/app/id6476033062)
Android & Linux & Windows | [Github Actions](https://github.com/lollipopkit/flutter_gpt_box/releases) / [CDN](https://cdn.lolli.tech/gptbox/pkg/?order=desc)

- All self-built pkgs can be found in [here](https://cdn.lolli.tech/gptbox/?sort=time&order=desc&layout=grid).
- Due to Chinese government policy and the BEIAN issue. Please download it from other regions of AppStore.
- To prevent injection attacks and etc., please don't download from untrusted sources.
Due to Chinese government policy and the BEIAN issue. Please download it from **other regions of AppStore**.
To prevent injection attacks and etc., please don't download from untrusted sources.


## 🆘 Help
Expand Down
13 changes: 7 additions & 6 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,19 @@


## ⬇️ 使用
🎉 **现在 `Android / Linux / Windows` 版本使用 GitHub Actions 构建**

[iOS & macOS](https://apps.apple.com/app/id6476033062) / [Android & Linux & Windows](https://github.com/lollipopkit/flutter_gpt_box/releases)
平台 | 下载
--- | ---
iOS & macOS | [AppStore](https://apps.apple.com/app/id6476033062)
Android & Linux & Windows | [Github Actions](https://github.com/lollipopkit/flutter_gpt_box/releases) / [CDN](https://cdn.lolli.tech/gptbox/pkg/?order=desc)

- 所有自建的安装包都可以在 [这里](https://cdn.lolli.tech/gptbox/?sort=time&order=desc&layout=grid) 找到。
- 由于中国政策原因,且**目前**无法完成备案。请移步 AppStore 其他区下载。
- 为了防止注入攻击等因素,请勿从不可信来源下载。
由于中国政策原因,且**目前**无法完成备案,请移步 **AppStore 其他区** 下载。
为了防止注入攻击等因素,请勿从不可信来源下载。


## 🆘 帮助

- 吹水、参与开发、了解如何使用,QQ群 **762870488**
- 吹水、参与开发,QQ群 **762870488**

反馈前须知:
1. 反馈问题请附带 log(点击首页右上角),并以 bug 模版提交。
Expand Down
6 changes: 3 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 236;
CURRENT_PROJECT_VERSION = 240;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand Down Expand Up @@ -512,7 +512,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 236;
CURRENT_PROJECT_VERSION = 240;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -537,7 +537,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 236;
CURRENT_PROJECT_VERSION = 240;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand Down
2 changes: 1 addition & 1 deletion lib/core/ext/file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:io';

extension FileX on File? {
Future<String?> get base64 async {
final format = switch (this?.path.split('.').lastOrNull){
final format = switch (this?.path.split('.').lastOrNull) {
null => null,
'png' => 'png',
'jpeg' => 'jpeg',
Expand Down
2 changes: 1 addition & 1 deletion lib/data/res/build.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

class Build {
static const String name = "GPTBox";
static const int build = 236;
static const int build = 240;
}
3 changes: 2 additions & 1 deletion lib/view/page/home/chat.dart
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ class _ChatPageState extends State<_ChatPage>
List<ChatHistoryItem> chatItems,
ChatHistoryItem chatItem,
) {
final replayEnabled = chatItem.role.isUser;// && Stores.setting.replay.fetch();
final replayEnabled =
chatItem.role.isUser; // && Stores.setting.replay.fetch();

Widget buildFuncItem({
required VoidCallback onTap,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: gpt_box
description: "A third-party GPT Client for OpenAI API."
publish_to: 'none'
version: 1.0.236+236
version: 1.0.240+240

environment:
sdk: '>=3.3.0 <4.0.0'
Expand Down

0 comments on commit 1fc03c9

Please sign in to comment.