Skip to content

Commit

Permalink
🐛 Fix cache misstake
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Feb 11, 2023
1 parent 431d67f commit ea3daae
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 23 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@ jobs:
config:
- target: linux
host: ubuntu-latest
flutter_version: '3.3.10'
flutter_version: '3.7.3'
- target: windows
host: windows-latest
flutter_version: '3.3.10'
flutter_version: '3.7.3'
- target: macos
host: macos-11
flutter_version: '3.3.10'
flutter_version: '3.7.3'
- target: ios
host: macos-11
flutter_version: '3.3.10'
flutter_version: '3.7.3'
- target: android-arm32
host: ubuntu-latest
flutter_version: '2.10.5'
Expand All @@ -87,13 +87,13 @@ jobs:
flutter_version: '2.10.5'
- target: android-arm32
host: ubuntu-latest
flutter_version: '3.3.10'
flutter_version: '3.7.3'
- target: android-arm64
host: ubuntu-latest
flutter_version: '3.3.10'
flutter_version: '3.7.3'
- target: android-x86_64
host: ubuntu-latest
flutter_version: '3.3.10'
flutter_version: '3.7.3'

runs-on: ${{ matrix.config.host }}

Expand Down Expand Up @@ -246,6 +246,8 @@ jobs:
sed -i "s/flutter_styled_toast: ^2.1.3/flutter_styled_toast: 2.0.0/g" pubspec.yaml
sed -i "s/ffi: 2.0.1/ffi: 1.1.0/g" pubspec.yaml
sed -i "s/ffigen: 6.0.1/ffigen: 4.1.3/g" pubspec.yaml
sed -i "s/modal_bottom_sheet: ^3.0.0-pre/modal_bottom_sheet: 2.0.1/g" pubspec.yaml
sed -i "s/permission_handler ^10.2.0/permission_handler 9.2.0/g" pubspec.yaml
- name: Upgrade deps version (iOS)
if: steps.check_asset.outputs.skip_build != 'true' && matrix.config.host == 'macos-11' && startsWith(matrix.config.flutter_version, '2')
Expand All @@ -256,6 +258,8 @@ jobs:
gsed -i "s/flutter_styled_toast: ^2.1.3/flutter_styled_toast: 2.0.0/g" pubspec.yaml
gsed -i "s/ffi: 2.0.1/ffi: 1.1.0/g" pubspec.yaml
gsed -i "s/ffigen: 6.0.1/ffigen: 4.1.3/g" pubspec.yaml
gsed -i "s/modal_bottom_sheet: ^3.0.0-pre/modal_bottom_sheet: 2.0.1/g" pubspec.yaml
gsed -i "s/permission_handler ^10.2.0/permission_handler 9.2.0/g" pubspec.yaml
- name: Cargo native build cache
if: steps.check_asset.outputs.skip_build != 'true'
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "niuhuan.daisy"
applicationId "opensource.daisy"
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="niuhuan.dasiy">
package="opensource.dasiy">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
4 changes: 2 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="niuhuan.dasiy">
package="opensource.dasiy">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
Expand All @@ -20,7 +20,7 @@
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name="niuhuan.dasiy.MainActivity"
android:name="opensource.dasiy.MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package niuhuan.dasiy
package opensource.dasiy

import android.content.ContentValues
import android.graphics.Bitmap
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="niuhuan.dasiy">
package="opensource.dasiy">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
2 changes: 1 addition & 1 deletion ci/version.code.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.15
v0.1.16
5 changes: 5 additions & 0 deletions ci/version.info.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
计划
- [x] 下载? / / 高清画质? / / 通过点击进行上一页下一页?

v0.1.16
- [x] 🐛 修复缓存不清除, 内存使用很大的问题
- [x] 🚀 升级Flutter引擎到3.7.3
- [x] 🚀 修改包名和签名防止报毒和黑名单

v0.1.15
- [x] 下载(缓存)漫画
6 changes: 3 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Runner",
);
PRODUCT_BUNDLE_IDENTIFIER = niuhuan.daisy;
PRODUCT_BUNDLE_IDENTIFIER = opensource.daisy;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -494,7 +494,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Runner",
);
PRODUCT_BUNDLE_IDENTIFIER = niuhuan.daisy;
PRODUCT_BUNDLE_IDENTIFIER = opensource.daisy;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand Down Expand Up @@ -522,7 +522,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Runner",
);
PRODUCT_BUNDLE_IDENTIFIER = niuhuan.daisy;
PRODUCT_BUNDLE_IDENTIFIER = opensource.daisy;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down
2 changes: 1 addition & 1 deletion linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
project(runner LANGUAGES CXX)

set(BINARY_NAME "daisy")
set(APPLICATION_ID "niuhuan.daisy")
set(APPLICATION_ID "opensource.daisy")

cmake_policy(SET CMP0063 NEW)

Expand Down
4 changes: 2 additions & 2 deletions macos/Runner/Configs/AppInfo.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
PRODUCT_NAME = daisy

// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = niuhuan.daisy
PRODUCT_BUNDLE_IDENTIFIER = opensource.daisy

// The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2022 niuhuan. All rights reserved.
PRODUCT_COPYRIGHT = Copyright © 2022 opensource. All rights reserved.
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ dependencies:
awesome_select: ^5.2.0
another_xlider: ^1.0.1+2
event: ^2.1.2
modal_bottom_sheet: ^2.0.1
modal_bottom_sheet: ^3.0.0-pre
photo_view: ^0.13.0
scrollable_positioned_list: ^0.2.3
permission_handler: ^9.2.0
permission_handler: ^10.2.0
flutter_styled_toast: ^2.1.3
flutter_svg: ^1.0.3
flutter_search_bar: ^3.0.0-dev.1
Expand Down
2 changes: 1 addition & 1 deletion windows/runner/Runner.rc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ BEGIN
BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "niuhuan" "\0"
VALUE "CompanyName", "opensource" "\0"
VALUE "FileDescription", "daisy" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "daisy" "\0"
Expand Down

0 comments on commit ea3daae

Please sign in to comment.