README.md
geopositionapp
A new Flutter project. Trying to get geoposition via dbus https://habr.com/ru/companies/friflex/articles/799855/
Getting Started
flutter-aurora create --platforms=aurora --template=app geopositionapp
dart pub global activate dbus
export PATH="$PATH":"$HOME/.pub-cache/bin"
dart-dbus generate-remote-object ./org.freedesktop.Geoclue.Position.xml -o lib/org_freedesktop_geoclue_position.dart
flutter-aurora build aurora --release
PATH_TO_HOME=/home/beeugene/AndroidStudioProjects/geopositionapp
PATH_TO_SIGN=/home/beeugene/AndroidStudioProjects/sign
PATH_TO_APP=$PATH_TO_HOME/build/aurora/aurora-arm/release/RPMS/com.example.geopositionapp-0.1.0-1.armv7hl.rpm
aurora_psdk rpmsign-external sign --key $PATH_TO_SIGN/regular_key.pem --cert $PATH_TO_SIGN/regular_cert.pem $PATH_TO_APP
ssh defaultuser@192.168.2.16 'mkdir -p /home/defaultuser/Downloads/rpm;rm /home/defaultuser/Downloads/rpm/*';
scp $PATH_TO_HOME/build/aurora/aurora-arm/release/RPMS/*.rpm defaultuser@192.168.2.16:/home/defaultuser/Downloads/rpm;
ssh defaultuser@192.168.2.16;
devel-su
pkcon install-local /home/defaultuser/Downloads/rpm/*.rpm -y
exit
/usr/bin/com.example.geopositionapp
Конвейеры
0 успешных
0 с ошибкой