Skip to content

Commit

Permalink
🚀 deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Feb 26, 2023
1 parent 32ca349 commit 88abee3
Show file tree
Hide file tree
Showing 25 changed files with 102 additions and 272 deletions.
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.jasmine"
applicationId "opensource.jasmine"
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.jasmine">
package="opensource.jasmine">
<!-- 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 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.jasmine">
package="opensource.jasmine">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
Expand Down
194 changes: 0 additions & 194 deletions android/app/src/main/kotlin/niuhuan/jasmine/MainActivity.kt

This file was deleted.

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.jasmine">
package="opensource.jasmine">
<!-- 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 @@
v1.4.1
v1.4.2
9 changes: 7 additions & 2 deletions ci/version.info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.4.1
v1.4.2

- [x] 🚀 renew
- [x] 🚀 点击七次版本号注册
- [x] 🚀 修复一些BUG
- [x] 🚀 优化继续阅读
- [x] 🚀 防止报毒
- [x] 🚀 升级引擎
- [x] 🚀 关闭入口
6 changes: 3 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
"$(PROJECT_DIR)",
);
MACOSX_DEPLOYMENT_TARGET = 11.3;
PRODUCT_BUNDLE_IDENTIFIER = niuhuan.jasmine;
PRODUCT_BUNDLE_IDENTIFIER = opensource.jasmine;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -511,7 +511,7 @@
"$(PROJECT_DIR)",
);
MACOSX_DEPLOYMENT_TARGET = 11.3;
PRODUCT_BUNDLE_IDENTIFIER = niuhuan.jasmine;
PRODUCT_BUNDLE_IDENTIFIER = opensource.jasmine;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand Down Expand Up @@ -542,7 +542,7 @@
"$(PROJECT_DIR)",
);
MACOSX_DEPLOYMENT_TARGET = 11.3;
PRODUCT_BUNDLE_IDENTIFIER = niuhuan.jasmine;
PRODUCT_BUNDLE_IDENTIFIER = opensource.jasmine;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down
13 changes: 8 additions & 5 deletions ios/Runner/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina6_12" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Flutter View Controller-->
Expand All @@ -14,13 +16,14 @@
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="102" y="-34"/>
</scene>
</scenes>
</document>
8 changes: 4 additions & 4 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UIFileSharingEnabled</key>
<true/>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
Expand All @@ -32,10 +28,14 @@
<string>public.app-category.entertainment</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Usage images</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Save images</string>
<key>UIFileSharingEnabled</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
Expand Down
2 changes: 1 addition & 1 deletion lib/configs/download_and_export_to.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Widget downloadAndExportToSetting() {
if (!isPro) {
return SwitchListTile(
title: const Text("下载时同时导出", style: TextStyle(color: Colors.grey)),
subtitle: const Text("订阅才能使用", style: TextStyle(color: Colors.grey)),
subtitle: const Text("发电才能使用", style: TextStyle(color: Colors.grey)),
value: false,
onChanged: (_) {},
);
Expand Down
4 changes: 2 additions & 2 deletions lib/configs/download_thread_count.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Widget downloadThreadCountSetting() {
builder: (BuildContext context, void Function(void Function()) setState) {
return ListTile(
title: Text(
"下载线程数" + (!isPro ? "(订阅)" : ""),
"下载线程数" + (!isPro ? "(发电)" : ""),
style: TextStyle(
color: !isPro ? Colors.grey : null,
),
Expand All @@ -36,7 +36,7 @@ Widget downloadThreadCountSetting() {

Future chooseDownloadThread(BuildContext context) async {
if (!isPro) {
defaultToast(context, "先订阅才能使用多线程嗷");
defaultToast(context, "先发电才能使用多线程嗷");
return;
}
int? value = await chooseListDialog(context,title: "选择下载线程数", values:_values,);
Expand Down
Loading

0 comments on commit 88abee3

Please sign in to comment.