Skip to content

Commit

Permalink
Lollipopkit/issue28 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
lollipopkit authored Jun 15, 2024
1 parent e189e55 commit 63f6ec0
Show file tree
Hide file tree
Showing 20 changed files with 41 additions and 18 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,18 @@ jobs:
sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev
- name: Build
run: dart run fl_build -p android,linux
- name: Rename for fdroid
run: |
mv build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_arm64.apk build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm64.apk
mv build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_arm.apk build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm.apk
mv build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_amd64.apk build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_amd64.apk
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: |
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_arm64.apk
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_arm.apk
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_amd64.apk
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm64.apk
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm.apk
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_amd64.apk
${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_amd64.AppImage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ A third-party GPT Client for OpenAI API.
<!-- Badges-->
<p align="center">
<img alt="lang" src="https://img.shields.io/badge/lang-dart-pink">
<img alt="countly" src="https://img.shields.io/badge/analysis-countly-pink">
<img alt="license" src="https://img.shields.io/badge/license-GPLv3-pink">
</p>

Expand All @@ -32,10 +31,10 @@ Please refrain from using it in production environments or for critical data.
## 🏙️ Screenshots
<table>
<tr>
<td><img width="277px" src="media/main.jpg"></td>
<td><img width="277px" src="media/history.jpg"></td>
<td><img width="277px" src="media/search.jpg"></td>
<td><img width="277px" src="media/settings.jpg"></td>
<td><img width="277px" src="fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg"></td>
<td><img width="277px" src="fastlane/metadata/android/en-US/images/phoneScreenshots/2.jpg"></td>
<td><img width="277px" src="fastlane/metadata/android/en-US/images/phoneScreenshots/3.jpg"></td>
<td><img width="277px" src="fastlane/metadata/android/en-US/images/phoneScreenshots/4.jpg"></td>
</tr>
</table>

Expand Down
9 changes: 4 additions & 5 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<!-- Badges-->
<p align="center">
<img alt="lang" src="https://img.shields.io/badge/lang-dart-pink">
<img alt="countly" src="https://img.shields.io/badge/analysis-countly-pink">
<img alt="license" src="https://img.shields.io/badge/license-GPLv3-pink">
</p>

Expand All @@ -32,10 +31,10 @@
## 🏙️ 截屏
<table>
<tr>
<td><img width="277px" src="media/main.jpg"></td>
<td><img width="277px" src="media/history.jpg"></td>
<td><img width="277px" src="media/search.jpg"></td>
<td><img width="277px" src="media/settings.jpg"></td>
<td><img width="277px" src="fastlane/metadata/android/zh-CN/images/phoneScreenshots/1.jpg"></td>
<td><img width="277px" src="fastlane/metadata/android/zh-CN/images/phoneScreenshots/2.jpg"></td>
<td><img width="277px" src="fastlane/metadata/android/zh-CN/images/phoneScreenshots/3.jpg"></td>
<td><img width="277px" src="fastlane/metadata/android/zh-CN/images/phoneScreenshots/4.jpg"></td>
</tr>
</table>

Expand Down
8 changes: 8 additions & 0 deletions fastlane/metadata/android/en-US/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- Restore from [ChatGPT Next Web backup](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web) / [OpenAI exported file](https://chatgpt.com).
- Text / Image / Audio chat.
- Localization. (简体中文 / English)
- Share chat as image.
- Url Scheme, eg: `lk-gptbox://chat/new?msg=hello`
- Sync with WebDAV / iCloud.
- Mobile & Desktop supports.
- Render code block / latex formula.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A third-party GPT Client for OpenAI API.
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GPTBox
8 changes: 8 additions & 0 deletions fastlane/metadata/android/zh-CN/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- 从 [ChatGPT Next Web 备份](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web) / [OpenAI导出文件](https://chatgpt.com) 恢复
- 文本 / 图片 / 音频聊天
- 本地化(简体中文 / English)
- 以图片形式分享聊天
- Url Scheme,例如:`lk-gptbox://chat/new?msg=你好`
- 与 WebDAV / iCloud 同步
- 移动端 & 桌面端 支持
- 渲染 代码块 / LaTeX 公式
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 1 addition & 0 deletions fastlane/metadata/android/zh-CN/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
支持 OpenAI API 的第三方客户端
1 change: 1 addition & 0 deletions fastlane/metadata/android/zh-CN/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GPTBox
6 changes: 3 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 209;
CURRENT_PROJECT_VERSION = 213;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand Down Expand Up @@ -494,7 +494,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 209;
CURRENT_PROJECT_VERSION = 213;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -519,7 +519,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 209;
CURRENT_PROJECT_VERSION = 213;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
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 = 209;
static const int build = 213;
}
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.210+210
version: 1.0.213+213

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

0 comments on commit 63f6ec0

Please sign in to comment.