-
Notifications
You must be signed in to change notification settings - Fork 115
Build Harmony music App by yourself
anandnet edited this page Feb 1, 2025
·
3 revisions
- Fork this respository build HM
- Go to Actions Tab
- You will find following workflows
- Build all app at once
- Build Android apk
- Build linux deb
- Build Windows exe
- Choose whatever you want to build
- Click "Run workflow" and let it be completed (you can also check building logs by clicking on running workflow)
- Once completed open workflow logs and find required app bin in Artifacts section.
(Note: For android if you have already installed that may causes conflict in package while installing due to signing key mismatch(automatically it will be signed using debug singing key). so, app will not be updated in that case)
- Install flutter in your machine , check here for installation instruction according to your requirement
- Open your terminal/cmd and clone Harmony music repository
git clone https://github.com/anandnet/Harmony-Music.git
- Go to Harmony music dir
cd Harmony-Music
- Run following command
flutter clean
flutter build apk --split-per-abi --release
Apk will be found at Harmony-Music/build/app/outputs/flutter-apk/
- install inno setup 6
- Run following command
echo "const updateCheckFlag = true;" > update_check_flag_file.dart
dart pub global activate flutter_distributor
flutter_distributor package --platform windows --targets exe
Exe will be found at Harmony-Music/dist/
- Run following command
sudo apt-get install libmpv-dev mpv libayatana-appindicator3-dev ninja-build libgtk-3-dev
dart pub global activate flutter_distributor
flutter_distributor package --platform linux --targets deb
deb file will be found at Harmony-Music/dist/