diff --git a/README.md b/README.md
index 0a4af9d..a81e1dd 100644
--- a/README.md
+++ b/README.md
@@ -44,18 +44,28 @@ On [this repository](https://github.com/JuanRodenas/Pihole_list) you can find a
## Generate production build
+ -
+ Prerequisites
+
+ - Open
pubspec.yaml
and change the version name and the version number.
+ - Run
flutter clean
.
+ - Run
flutter pub get
.
+
+
+ -
+ Android
+
+ - Make sure you have your
key.properties
file at android/
, with all the required values of your signing key correctly set up.
+ - Make sure you have your keystore file at
android/app
.
+ - Run
flutter build apk --release
to compile the APK.
+ - The .apk package is located at
build/app/outputs/flutter-apk/app-release.apk
.
+
+
-
macOS
- - flutter clean
- - flutter pub get
- - flutter build macos --release
- - Open macos/Runner.xcworkspace on Xcode
- - Make sure all the pods have the minimum deployment version at 10.14
- - Select Runner > Targets Runner
- - Make sure the Version and Build numbers are correct
- - Click on Product menu and on Archive
- - Select the first on the list and click on Distribute app, select Copy App and click on Next
+ - Run
flutter build macos --release
to compile the production build.
+ - The .app package is located at
build/macos/Build/Products/Release/AdGuard Home Manager.app
.
-
@@ -67,24 +77,22 @@ On [this repository](https://github.com/JuanRodenas/Pihole_list) you can find a
Build
- - Open debian.yaml file inside debian/ and update the version number
+ - Open
debian.yaml
file inside debian/ and update the version number
- run
rps build linux
- - The .tar.gz is at build/linux/x64/release/bundle
- - The .deb package is at debian/packages
+ - The .tar.gz is at
build/linux/x64/release/bundle
+ - The .deb package is at
debian/packages
Windows
- - flutter clean
- - flutter pub get
- - flutter build windows
+ - Run
flutter build windows --release
.
- Open Inno Setup Compiler application and load the script
- - The script is located at windows/innosetup_installer_builder.iss
+ - The script is located at
windows/innosetup_installer_builder.iss
- Update the version number and save the changes
- Click on the Compile button
- - The installer will be generated at build/windows/aghm_installer.exe
+ - The installer will be generated at
build/windows/aghm_installer.exe
.
diff --git a/android/key.properties.sample b/android/key.properties.sample
new file mode 100644
index 0000000..b51dc2c
--- /dev/null
+++ b/android/key.properties.sample
@@ -0,0 +1,4 @@
+storePassword= # keystore password #
+keyPassword= # keystore key password #
+keyAlias= # key alias #
+storeFile= # ./keystore-file-name.jks #
\ No newline at end of file
diff --git a/pubspec.yaml b/pubspec.yaml
index 18406dd..e4dbaa8 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
-version: 2.14.0+119
+version: 2.14.1+120
environment:
sdk: '>=2.18.1 <3.0.0'