Skip to content

Commit a729379

Browse files
0.0.1-7
1 parent fa29607 commit a729379

65 files changed

Lines changed: 607 additions & 1629 deletions

File tree

Some content is hidden

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# open_configurator
22

3-
A configuration tool for OpenCore
3+
A configuration tool for OpenCore.
44

55
## Getting Started
66

android/app/build.gradle

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,34 @@ if (flutterRoot == null) {
1313

1414
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
1515
if (flutterVersionCode == null) {
16-
flutterVersionCode = '6'
16+
flutterVersionCode = '1'
1717
}
1818

1919
def flutterVersionName = localProperties.getProperty('flutter.versionName')
2020
if (flutterVersionName == null) {
21-
flutterVersionName = '0.0.1'
21+
flutterVersionName = '1.0'
2222
}
2323

2424
apply plugin: 'com.android.application'
2525
apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
29-
compileSdkVersion 30
29+
compileSdkVersion 29
3030

3131
sourceSets {
3232
main.java.srcDirs += 'src/main/kotlin'
3333
}
3434

35+
lintOptions {
36+
disable 'InvalidPackage'
37+
}
38+
3539
defaultConfig {
3640
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37-
applicationId "com.example.open_configurator"
41+
applicationId "com.truetoastedcode.open_configurator.open_configurator"
3842
minSdkVersion 16
39-
targetSdkVersion 30
43+
targetSdkVersion 29
4044
versionCode flutterVersionCode.toInteger()
4145
versionName flutterVersionName
4246
}

android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.open_configurator">
2+
package="com.truetoastedcode.open_configurator.open_configurator">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/app/src/main/AndroidManifest.xml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.open_configurator">
2+
package="com.truetoastedcode.open_configurator.open_configurator">
3+
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
4+
calls FlutterMain.startInitialization(this); in its onCreate method.
5+
In most cases you can leave this as-is, but you if you want to provide
6+
additional functionality it is fine to subclass or reimplement
7+
FlutterApplication and put your custom class here. -->
38
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
49
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
510
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
6-
<application
11+
<application
12+
android:name="io.flutter.app.FlutterApplication"
713
android:label="open_configurator"
8-
android:icon="@mipmap/ic_launcher"
9-
android:requestLegacyExternalStorage="true"
10-
android:preserveLegacyExternalStorage="true">
14+
android:icon="@mipmap/ic_launcher">
1115
<activity
1216
android:name=".MainActivity"
1317
android:launchMode="singleTop"

android/app/src/main/kotlin/com/example/open_configurator/MainActivity.kt renamed to android/app/src/main/kotlin/com/truetoastedcode/open_configurator/open_configurator/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example.open_configurator
1+
package com.truetoastedcode.open_configurator.open_configurator
22

33
import io.flutter.embedding.android.FlutterActivity
44

android/app/src/main/res/drawable-v21/launch_background.xml

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

android/app/src/main/res/values-night/styles.xml

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
4-
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
3+
<!-- Theme applied to the Android Window while the process is starting -->
4+
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
55
<!-- Show a splash screen on the activity. Automatically removed when
66
Flutter draws its first frame -->
77
<item name="android:windowBackground">@drawable/launch_background</item>
@@ -12,7 +12,7 @@
1212
running.
1313
1414
This Theme is only used starting with V2 of Flutter's Android embedding. -->
15-
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
16-
<item name="android:windowBackground">?android:colorBackground</item>
15+
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
16+
<item name="android:windowBackground">@android:color/white</item>
1717
</style>
1818
</resources>

android/app/src/profile/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.open_configurator">
2+
package="com.truetoastedcode.open_configurator.open_configurator">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.1.0'
9+
classpath 'com.android.tools.build:gradle:3.5.4'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}

0 commit comments

Comments
 (0)