Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

RPMLauncher 2.0 #289

Draft
wants to merge 79 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
123bed3
feat: json storage synchronized
SiongSng Dec 18, 2022
66a0c67
remove all old code
SiongSng Dec 18, 2022
41e2b49
feat: loading page
SiongSng Dec 18, 2022
9aa4db6
feat: dark/light theme
SiongSng Dec 18, 2022
3b441cf
update
SiongSng Dec 18, 2022
00415a4
Update launcher_theme.dart
SiongSng Dec 18, 2022
e4d3cd7
feat: background
SiongSng Dec 19, 2022
d7ca11c
feat: home page text (WIP)
SiongSng Dec 19, 2022
492b41a
remove widgets
SiongSng Dec 20, 2022
0c1daaf
feat: home page action buttons
SiongSng Dec 20, 2022
1b5a399
feat: home page
SiongSng Dec 20, 2022
3dd65db
feat: home page news placeholder
SiongSng Dec 21, 2022
3f5f99b
Update home_page.dart
SiongSng Dec 21, 2022
301d6d2
feat: new design (wip)
SiongSng Dec 26, 2022
d6983dc
feat: use `Asap` font
SiongSng Dec 27, 2022
cb279cb
Update collection_page.dart
SiongSng Dec 27, 2022
6b218d3
feat: add `GenJyuuGothic` font as Chinese default font
SiongSng Dec 28, 2022
c0fe593
feat: collection page button
SiongSng Dec 28, 2022
732b61d
refactor: widget files
SiongSng Dec 28, 2022
7880ad7
refactor: move dialog files
SiongSng Dec 28, 2022
13d894e
feat: wip dialog
SiongSng Dec 28, 2022
de9d5b6
Update choose_loader_dialog.dart
SiongSng Dec 28, 2022
7b9cc7d
feat: border
SiongSng Dec 31, 2022
8acb266
fix: collection page icon
SiongSng Dec 31, 2022
2df3d1f
feat: change the year of copyright to 2023
SiongSng Jan 2, 2023
d0d5310
feat: game loader
SiongSng Jan 3, 2023
c69e4cf
feat: auto resize loader
SiongSng Jan 4, 2023
27fbb6c
feat: use new design
SiongSng Jan 7, 2023
8ddf49b
refactor: some file
SiongSng Jan 7, 2023
024785c
style: format
SiongSng Jan 8, 2023
27fc127
feat: game version model
SiongSng Jan 8, 2023
3bb136c
fix: pr build
SiongSng Jan 8, 2023
b867a98
Update mc_version_manifest_test.dart
SiongSng Jan 8, 2023
88531b5
Merge branch 'develop' into 2.0
SiongSng Jan 8, 2023
571743d
test: manifest `toJson()` and `toString()`
SiongSng Jan 8, 2023
894d0db
update (WIP)
SiongSng Jan 9, 2023
1cd9025
fix: main version parse
SiongSng Jan 10, 2023
dcb1777
feat: create collection dialog
SiongSng Jan 10, 2023
bf38da8
update
SiongSng Jan 10, 2023
8c43cc6
feat: game install task (WIP)
SiongSng Jan 10, 2023
1ab1396
feat: download version meta
SiongSng Jan 11, 2023
8751ccf
feat: download assets index file
SiongSng Jan 12, 2023
5f5eae6
feat: download game assets
SiongSng Jan 14, 2023
43a49c8
feat: async task
SiongSng Jan 14, 2023
2b7c412
feat: download manger dialog
SiongSng Jan 14, 2023
47fb361
feat: isolate task (WIP)
SiongSng Jan 14, 2023
cd2df8e
update
SiongSng Jan 15, 2023
0779c2d
refactor: file
SiongSng Jan 15, 2023
dbd0435
update
SiongSng Jan 15, 2023
1177773
feat: dwonload speed
SiongSng Jan 15, 2023
5f7d15a
feat: download chart
SiongSng Jan 15, 2023
6b4a2cd
Update download_manger_dialog.dart
SiongSng Jan 15, 2023
7be6a42
feat: download task list title
SiongSng Jan 15, 2023
1771d93
delete files
SiongSng Jan 16, 2023
5b982e9
fix: download progress
SiongSng Jan 16, 2023
9c392a4
refactor: ui files
SiongSng Jan 16, 2023
8c88c9b
feat: redesign choose game loader
SiongSng Jan 17, 2023
d0068aa
feat: update animation
SiongSng Jan 17, 2023
abc1d92
refactor: move platform plugin to packages
SiongSng Jan 18, 2023
9a040c8
Update choose_loader_page.dart
SiongSng Jan 18, 2023
0e655a7
Update choose_loader_page.dart
SiongSng Jan 18, 2023
09fd6af
feat: redesign choose version page
SiongSng Jan 19, 2023
ea8ab85
fix: download speed chart background
SiongSng Jan 20, 2023
357208d
Update download_manger_dialog.dart
SiongSng Jan 20, 2023
41957f3
change default theme
SiongSng Jan 20, 2023
b543f92
feat: choose version button
SiongSng Jan 20, 2023
ac92a84
update
SiongSng Jan 20, 2023
08a6dad
Update create_collection_page.dart
SiongSng Jan 20, 2023
2fb3fd0
update route
SiongSng Jan 21, 2023
66757ff
update
SiongSng Jan 21, 2023
56e7a1f
update icon
SiongSng Jan 24, 2023
4498c35
update
SiongSng Feb 20, 2023
6ab0030
chore: upgrade Flutter SDK
SiongSng Feb 20, 2023
ffbf15e
fix: build failed caused by the sentry library
SiongSng Feb 21, 2023
12b1e0f
remove unused import
SiongSng Feb 21, 2023
9f4e4f9
fix: sentry
SiongSng Mar 2, 2023
39cb712
fix: app bar
SiongSng Mar 4, 2023
ae73357
feat: app bar menu expanded
SiongSng Mar 4, 2023
c74ab1a
fix: image assets
SiongSng Mar 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 16 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build 1.1.0+
name: Build

on:
push:
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@main
with:
flutter-version: 3.7.0-1.1.pre
flutter-version: 3.8.0-10.1.pre
channel: beta
cache: true
- name: Install Dependencies
Expand All @@ -39,7 +39,8 @@ jobs:
- name: Build
run: |
dart pub global activate cider
dart pub global run cider version ${{ env.rwl_version_full }}
dart pub global run cider version ${{ env.rwl_version_full }}
flutter pub run build_runner build --delete-conflicting-outputs
flutter build linux --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=${{ env.version_type }}" --dart-define="version=${{ secrets.VERSION }}"
- name: Upload File
uses: actions/upload-artifact@v2
Expand All @@ -52,7 +53,7 @@ jobs:
if: ${{ !contains(github.event.head_commit.message,'[ci skip]') }}
runs-on: ubuntu-latest
needs: ["Build-Linux"]
env:
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -82,13 +83,14 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@main
with:
flutter-version: 3.7.0-1.1.pre
flutter-version: 3.8.0-10.1.pre
channel: beta
cache: true
- name: Build App
run: |
dart pub global activate cider
dart pub global run cider version ${{ env.rwl_version_full }}
flutter pub run build_runner build --delete-conflicting-outputs
flutter build windows --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=${{ env.version_type }}" --dart-define="version=${{ secrets.VERSION }}"
- name: Build Installer
run: |
Expand Down Expand Up @@ -132,15 +134,16 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@main
with:
flutter-version: 3.7.0-1.1.pre
flutter-version: 3.8.0-10.1.pre
channel: beta
cache: true
- name: Build
run: |
flutter pub get
pod repo update
dart pub global activate cider
dart pub global run cider version ${{ env.rwl_version_full }}
dart pub global run cider version ${{ env.rwl_version_full }}
flutter pub run build_runner build --delete-conflicting-outputs
flutter build macos --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=${{ env.version_type }}" --dart-define="version=${{ secrets.VERSION }}" --release
cp assets/images/macOS_logo_icon.icns build/macos/Build/Products
cd build/macos/Build/Products
Expand Down Expand Up @@ -258,10 +261,12 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@main
with:
flutter-version: 3.7.0-1.1.pre
flutter-version: 3.8.0-10.1.pre
channel: beta
cache: true
- run: flutter pub get
- run: |
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
- name: Analyze the code
uses: invertase/github-action-dart-analyzer@v1
with:
Expand All @@ -281,12 +286,13 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@main
with:
flutter-version: 3.7.0-1.1.pre
flutter-version: 3.8.0-10.1.pre
channel: beta
cache: true
- name: Generate coverage
run: |
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
flutter test --coverage
shell: bash
continue-on-error: true
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/no_response.yaml

This file was deleted.

19 changes: 11 additions & 8 deletions .github/workflows/pull_request_analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@ on: [pull_request]
jobs:
Analyze:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@main
with:
flutter-version: 3.7.0-1.1.pre
flutter-version: 3.8.0-10.1.pre
channel: beta
cache: true
- run: flutter pub get
- run: |
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
- name: Analyze the code
uses: invertase/github-action-dart-analyzer@v1
with:
fatal-infos: true
fatal-infos: false
fatal-warnings: true
annotate: true
annotate-only: false
Expand All @@ -31,12 +32,13 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@main
with:
flutter-version: 3.7.0-1.1.pre
flutter-version: 3.8.0-10.1.pre
channel: beta
cache: true
- name: Generate coverage
run: |
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
flutter test --coverage
shell: bash
continue-on-error: true
Expand All @@ -46,7 +48,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/lcov.info

Test-Build:
Build:
strategy:
matrix:
runs-on: [ubuntu-latest, windows-latest, macos-latest]
Expand All @@ -66,7 +68,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@main
with:
flutter-version: 3.7.0-1.1.pre
flutter-version: 3.8.0-10.1.pre
channel: beta
cache: true
- name: Install Dependencies
Expand All @@ -76,7 +78,8 @@ jobs:
sudo apt-get install ninja-build libgtk-3-dev libblkid-dev
- name: Build for ${{ runner.os }}
run: |
flutter config --enable-${{ matrix.os-name }}-desktop
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
flutter build ${{ matrix.os-name }} --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=debug" --dart-define="version=${{ secrets.VERSION }}"
- name: Upload File
uses: actions/upload-artifact@v2
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ rpmlauncher.snap
.flatpak-builder
flatpak/repo
RPMLauncher-Linux

# Generated dart files
*.g.dart
53 changes: 0 additions & 53 deletions .vscode/c_cpp_properties.json

This file was deleted.

6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"--dart-define",
"version_type=debug",
"--dart-define",
"version=1.1.0"
"version=2.0.0"
]
},
{
Expand All @@ -30,7 +30,7 @@
"--dart-define",
"version_type=debug",
"--dart-define",
"version=1.1.0"
"version=2.0.0"
]
},
{
Expand All @@ -45,7 +45,7 @@
"--dart-define",
"version_type=dev",
"--dart-define",
"version=1.1.0"
"version=2.0.0"
]
}
]
Expand Down
8 changes: 0 additions & 8 deletions .vscode/settings.json

This file was deleted.

15 changes: 0 additions & 15 deletions .vscode/tasks.json

This file was deleted.

9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Build RPMLauncher requires Flutter SDK and Dart SDK
[Official Flutter Tutorial](https://flutter.dev/desktop)
```
flutter pub get
flutter config --enable-<your-operating-system>-desktop
flutter pub run build_runner build --delete-conflicting-outputs
flutter build <your-operating-system>
```

Expand Down Expand Up @@ -86,3 +86,10 @@ Note: The RPMLauncher auto-update function is not supported for MacOS at this ti
- 3X0DUS - ChAoS#6969
- KyleUltimate
- 嗡嗡#5428 (RPMLauncher Logo Design)

## License
All code is licensed under the [GPL-3.0 License](https://www.gnu.org/licenses/gpl-3.0.html).
Part of the asset is owned by the asset owner.
The RPMLauncher logo is under the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/deed.en) license.

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG.
4 changes: 0 additions & 4 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ include: package:flutter_lints/flutter.yaml

linter:
rules:
file_names: false
empty_catches: false
use_key_in_widget_constructors: false
avoid_function_literals_in_foreach_calls: false

analyzer:
errors:
Expand Down
Binary file added assets/fonts/Asap/Asap-Black.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-BlackItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-Bold.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-BoldItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-ExtraBold.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-ExtraBoldItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-ExtraLight.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-ExtraLightItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-Italic.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-Light.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-LightItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-Medium.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-MediumItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-Regular.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-SemiBold.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-SemiBoldItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-Thin.ttf
Binary file not shown.
Binary file added assets/fonts/Asap/Asap-ThinItalic.ttf
Binary file not shown.
Loading