Skip to content

Commit fe19928

Browse files
authored
Merge pull request #15 from NamePickerOrg/v3
V3
2 parents d8de22c + 51581f6 commit fe19928

File tree

167 files changed

+5508
-2084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+5508
-2084
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -7,76 +7,39 @@ permissions:
77
contents: write
88

99
jobs:
10-
build_matrix:
11-
strategy:
12-
matrix:
13-
os: [ubuntu-latest, windows-latest]
14-
runs-on: ${{ matrix.os }}
15-
outputs:
16-
artiid: ${{ steps.artifact-upload-step.outputs.artifact-id }}
10+
build_windows:
11+
runs-on: windows-latest
1712
steps:
18-
- name: Check-out repository
13+
- name: Clone repository
1914
uses: actions/checkout@v4
2015

21-
- name: Setup Python
22-
uses: actions/setup-python@v5
16+
- name: Set up Flutter
17+
uses: subosito/flutter-action@v2
2318
with:
24-
python-version: '3.12'
25-
architecture: 'x64'
26-
cache: 'pip'
27-
cache-dependency-path: |
28-
**/requirements*.txt
19+
channel: stable
2920

30-
- name: Install Dependencies
21+
- name: Init flutter env
3122
run: |
32-
pip install -r requirements.txt
33-
pip install -i https://test.pypi.org/simple/ RinUI --no-deps
23+
cd namepicker
24+
flutter pub get
3425
35-
- name: Build Executable
26+
- name: Build windows app
3627
run: |
37-
pyinstaller main.spec
38-
python post_build.py
28+
cd namepicker
29+
flutter build windows
3930
40-
- name: Upload Artifacts
31+
- name: Upload windows artifact
4132
uses: actions/upload-artifact@v4
42-
id: artifact-upload-step
4333
with:
44-
name: NamePicker-Action-${{ runner.os }}
34+
name: NamePicker-action-windows
4535
path: |
46-
${{ github.workspace }}/dist/main
47-
include-hidden-files: true
48-
49-
release:
50-
needs: [build_matrix]
51-
runs-on: ubuntu-latest
52-
steps:
53-
- name: Check-out repository
54-
uses: actions/checkout@v4
55-
- name: Prepare release
56-
run: |
57-
mkdir release
58-
mkdir artifacts
59-
- name: Download artifacts
60-
uses: actions/download-artifact@v4
61-
with:
62-
path: artifacts
63-
run-id: ${{needs.build_matrix.outputs.artiid}}
64-
- name: Prepare artifacts
65-
run: |
66-
mv ${{ github.workspace }}/artifacts/NamePicker-Action-Windows release/NamePicker-Action-Windows
67-
mv ${{ github.workspace }}/artifacts/NamePicker-Action-Linux release/NamePicker-Action-Linux
68-
69-
- name: Zip artifact
70-
run: |
71-
zip -r release/NamePicker-Action-Windows.zip release/NamePicker-Action-Windows
72-
zip -r release/NamePicker-Action-Linux.zip release/NamePicker-Action-Linux
36+
namepicker\build\windows\x64\runner\Release
7337
7438
- name: Release
7539
uses: softprops/action-gh-release@v2
7640
with:
7741
files: |
78-
${{ github.workspace }}/release/NamePicker-Action-Windows.zip
79-
${{ github.workspace }}/release/NamePicker-Action-Linux.zip
42+
${{ github.workspace }}\namepicker\build\windows\x64\runner\Release
8043
body_path: CHANGELOG.md
8144
draft: true
8245
env:

.gitignore

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,50 @@ proto.zip
2121
release
2222
main.build
2323
main.dist
24-
.venv_legacy
24+
.venv_legacy
25+
26+
# Miscellaneous
27+
*.class
28+
*.log
29+
*.pyc
30+
*.swp
31+
.DS_Store
32+
.atom/
33+
.build/
34+
.buildlog/
35+
.history
36+
.svn/
37+
.swiftpm/
38+
migrate_working_dir/
39+
40+
# IntelliJ related
41+
*.iml
42+
*.ipr
43+
*.iws
44+
.idea/
45+
46+
# The .vscode folder contains launch configuration and tasks you configure in
47+
# VS Code which you may wish to be included in version control, so this line
48+
# is commented out by default.
49+
#.vscode/
50+
51+
# Flutter/Dart/Pub related
52+
**/doc/api/
53+
**/ios/Flutter/.last_build_id
54+
.dart_tool/
55+
.flutter-plugins
56+
.flutter-plugins-dependencies
57+
.pub-cache/
58+
.pub/
59+
/build/
60+
61+
# Symbolication related
62+
app.*.symbols
63+
64+
# Obfuscation related
65+
app.*.map.json
66+
67+
# Android Studio will place build artifacts here
68+
/android/app/debug
69+
/android/app/profile
70+
/android/app/release

CHANGELOG.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
## Bug修复
1+
> [!caution]
2+
> ## 请勿在生产环境使用该版本!
3+
>
4+
> 该版本使用了flutter完全重构,缺失很多功能,并且可能存在一些潜在的Bug,仅供尝鲜
5+
>
6+
> 生产环境请使用v2.2.0d6 Release
27
3-
- 修复URL Scheme注册异常的问题喵
8+
## 实现的功能
49

5-
## 已知Bug
10+
- 抽选1-50的数字
611

7-
- TOTP APP设置时看不到手动设置的代码(没啥头绪)
12+
- 关于页面
813

9-
- Linux版本构建文件无法打开(同理,没啥头绪)
10-
11-
- Linux下,浮窗几乎无法使用(Qt的已知问题,等待Qt开发者进行修复)
14+
- 没了

RinUI/config/rin_ui.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

assets/Firefly-heart.png

-35.5 KB
Binary file not shown.

assets/Firefly-no.png

-35.5 KB
Binary file not shown.

assets/Firefly-well.png

-34.3 KB
Binary file not shown.

assets/NamePickerCircle.png

-240 KB
Binary file not shown.

assets/Sam-Go.png

-34.2 KB
Binary file not shown.

assets/banner.png

-789 KB
Binary file not shown.

0 commit comments

Comments
 (0)