Skip to content

Commit

Permalink
update build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
legacyO7 committed Sep 5, 2023
1 parent 6005953 commit 4a2ec91
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/aurora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
- name: Set Build Type
run: sed -i "s/BuildType.debug/BuildType.appimage/g" lib/utility/constants.dart

- name: Run code generator
run: dart run build_runner build

- name: Flutter build app
run: flutter build linux

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Appimage builds doesnt support ``--with-root`` argument
`libgtk-3-0 libblkid1 liblzma5`
- Enable linux desktop
`flutter config --enable-linux-desktop`
- Run code generator
`dart run build_runner build`
- Run the project
`flutter run`
- Build the project
Expand Down
2 changes: 2 additions & 0 deletions aurora_builder
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ buildAurora(){
echo building aurora
flutter clean
flutter pub get
dart run build_runner build
flutter build linux
elf
getversion
Expand All @@ -55,6 +56,7 @@ patchelf --set-rpath '$ORIGIN' libscreen_retriever_plugin.so
patchelf --set-rpath '$ORIGIN' libwindow_manager_plugin.so
patchelf --set-rpath '$ORIGIN' liburl_launcher_linux_plugin.so
patchelf --set-rpath '$ORIGIN' libbitsdojo_window_linux_plugin.so
patchelf --set-rpath '$ORIGIN' libisar_flutter_libs_plugin.so
cd ../../../../../../

}
Expand Down

0 comments on commit 4a2ec91

Please sign in to comment.