OpenLauncherTeam / openlauncher

Customizable and Open Source Launcher for Android
Apache License 2.0
1.41k stars 413 forks source link

Publish release #695

Open chrysn opened 1 year ago

chrysn commented 1 year ago

Please consider tagging a version as a new release, be it 0.7.5 or 0.8.0. Such a version should then have it easy to get updated in F-Droid.

I see that a lot of bug fixes have accumulated (and experienced disappearing widgets myself) since late 2020, and in particular PR #637 (PWAs) would be a great improvement to see in a released version.

gsantner commented 1 year ago

If you want a new update, please do something: Build OpenLauncher from master branch on your own (or CI build) and use that as your default launcher for two weeks.

Then report back if everything is OK, or less good than before.

OpenLauncher is in maintainence mode since a while and I rather not release a update which doesn't work on other more important areas --- because I won't have the time to fix it again.

So please do that and let me know here. Thank you.

MASTERdjango commented 1 year ago

there you go: https://github.com/MASTERdjango/openLAUNCHER, It just works... and yes PR (https://github.com/OpenLauncherTeam/openlauncher/pull/637) (PWAs) works... expect bugs... I just built the APK today.

gsantner commented 1 year ago

@MASTERdjango Everything merged on master is available from CI build apk. No need to upload some apk for somebody.

hamishmb commented 1 year ago

Are you still in need of beta testers? I'm happy to try a dev build as well, if that would help. The current stable release seems pretty buggy.

nazar-pc commented 1 year ago

I started testing debug build from CI from 4abc6d27eaad593ca1fa664d8f36db4db2b8f7a9 too, seems to be working just fine so far, in fact better than latest release on F-Droid.

I'd say make it a preview/beta release on F-Droid, it does have such a feature. Those who need stable version can continue to use stable release, those who want to test preview can opt-in in F-Droid settings.

nazar-pc commented 1 year ago

Used for over a week, no issues whatsoever while the published version was crashing for me on Android 13 (I exported and imported the same settings).

hamishmb commented 1 year ago

Crashes a lot on Android 11 for me too.

User2564 commented 1 year ago

@MASTERdjango, @gsantner, @tplloi, @jan-kiszka and @chrysn, It would be greatly appreciated if I could have some assistance in setting up a functional build environment (ideally running as a shell session within a Debian 9 WSL 1 install running on Windows 10).

For what little this is likely worth, while my background is in IT (with scripting and basic development experience) I am not a mobile developer by trade.

A previous example using a generic online guide did not go down very well to say the least.

It might be impractical but it would be appreciated if Artifact expiration could be disabled.

Ptitg commented 1 year ago

For my use, I find the master version better than 0.7.4. I use it daily.

User2564 commented 1 year ago

Via working with ChatGPT I have been able to setup my own build environment based around Debain running within Windows Subsystem for Linux (WSL) version I.

Prompt

Good evening, Can you please provide a detailed build process for the Android Application called "Open Launcher". Desired environment: A Debian 9 install stored within WSL 1 and Windows 10 as the host

The source code can be found at https://github.com/OpenLauncherTeam/openlauncher

Output

Sure, here are the steps to build the Open Launcher Android application on a Debian 9 install within WSL 1 and Windows 10 as the host:

Install necessary tools:

Java Development Kit (JDK) version 8 or above Android Software Development Kit (SDK) Gradle build tool Git Clone the Open Launcher repository:

Open a terminal window and navigate to the directory where you'd like to store the project. Run the command $ git clone https://github.com/OpenLauncherTeam/openlauncher.git to clone the repository. Set up environment variables:

Set JAVA_HOME to the path of your installed JDK. Set ANDROID_HOME to the path of your installed Android SDK. Install Android SDK components:

Run the command $ sdkmanager "platforms;android-29" "build-tools;29.0.2" to install the necessary SDK components. Build the project:

Navigate to the root directory of the project. Run the command $ ./gradlew assembleDebug to build the project in debug mode. Alternatively, run the command $ ./gradlew assembleRelease to build the project in release mode. Find the APK:

The APK file will be generated in openlauncher/app/build/outputs/apk/debug or openlauncher/app/build/outputs/apk/release, depending on the build mode selected. That's it! You now have a built version of the Open Launcher Android application.


To be more useful:

sudo apt-get install openjdk-8-jre

To use sdkmanager (https://developer.android.com/tools/sdkmanager), I then downloaded the Linux port of ther SDK-platform tools (https://developer.android.com/tools/releases/platform-tools).

After tripple reading the instructions and using some french, I came up with the following file struture.

PATH/android_sdk

As to be expected I then had to update the debian image at some point.

Within the src folder I executed the following commands export ANDROID_SDK_ROOT=PATH/android_sdk/ e.g. export ANDROID_SDK_ROOT=/mnt/c/Users/03520/Desktop/android_sdk/

cd /mnt/c/Users/03520/Desktop/android_sdk/ ./../android_sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-29" "build-tools;29.0.2"

I have the following shell script to help automate building my own custom release which sits next to the src folder and I call from within the src folder.

export ANDROID_SDK_ROOT=/mnt/c/Users/03520/Desktop/android_sdk/ git merge --no-commit veryMinorTweaks # As time goes though I intended to switch over to git merge --no-commit $(git branch --list | grep -v "* master" | paste -s) ./gradlew assembleDebug git reset --hard HEAD -q cp app/build/outputs/apk/flavorDefault/debug/app-flavorDefault-debug.apk ../OpenLauncher-modified-$(date +"%Y-%m-%d-%H.%M.%S")-Upstream-Master-commit-8a7afbe-Default-unsigned-debug.apk

veryMinorTweaks This branch does the following relatively minor items:

[code] diff --git a/app/build.gradle b/app/build.gradle index 46408731..df48db1e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -19,7 +19,7 @@ android { buildConfigField "String", "GITHASH", "\"${getGitHash()}\"" resValue "string", "manifest_package_id", "com.benny.openlauncher"

[/code]

erebion commented 7 months ago

There was a release on F-Droid a month ago. \o/

nazar-pc commented 7 months ago

Yes, release is out on F-Droid, but for some reason it is created for ancient devices (Android 4.2+) and as the result doesn't support auto-updates. Would be great to have release for modern versions of Android.