Skip to content

Commit

Permalink
Release 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
meefik committed Mar 2, 2019
1 parent 2e8adbd commit 467eb94
Show file tree
Hide file tree
Showing 17 changed files with 54 additions and 43 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [2.3.0] - 2019-03-02
### Changed
- Code refactoring and migrated to AndroidX (issue #1058)

### Fixed
- Fixed start on boot on Android 8.1 (issue #1041)
- Fixed notification channels (issue #1059)
- Fixed Arch Linux bootstrap (issue #1055)

## [2.2.2] - 2018-11-25
### Changed
- Have separate source/target inputs for mounts (issue #1019)
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId 'ru.meefik.linuxdeploy'
minSdkVersion 15
targetSdkVersion 28
versionCode 244
versionName "2.2.2"
versionCode 245
versionName "2.3.0"
}
buildTypes {
release {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/assets/env
Submodule env updated 2 files
+4 −4 README.md
+1 −1 cli.sh
54 changes: 28 additions & 26 deletions app/src/main/java/ru/meefik/linuxdeploy/RepositoryActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
public class RepositoryActivity extends AppCompatActivity {

private List<Map<String, String>> profiles = new ArrayList<>();
private ArrayAdapter adapter;
private ArrayAdapter<Map<String, String>> adapter;

private boolean isDonated() {
return getPackageManager().checkSignatures(getPackageName(), "ru.meefik.donate")
Expand Down Expand Up @@ -115,31 +115,33 @@ public View getView(int position, View convertView, ViewGroup parent) {
String desc = profiles.get(position).get("DESC");
String type = profiles.get(position).get("TYPE");
int iconRes = R.raw.linux;
switch (type) {
case "archlinux":
iconRes = R.raw.archlinux;
break;
case "centos":
iconRes = R.raw.centos;
break;
case "debian":
iconRes = R.raw.debian;
break;
case "fedora":
iconRes = R.raw.fedora;
break;
case "gentoo":
iconRes = R.raw.gentoo;
break;
case "kalilinux":
iconRes = R.raw.kalilinux;
break;
case "slackware":
iconRes = R.raw.slackware;
break;
case "ubuntu":
iconRes = R.raw.ubuntu;
break;
if (type != null) {
switch (type) {
case "archlinux":
iconRes = R.raw.archlinux;
break;
case "centos":
iconRes = R.raw.centos;
break;
case "debian":
iconRes = R.raw.debian;
break;
case "fedora":
iconRes = R.raw.fedora;
break;
case "gentoo":
iconRes = R.raw.gentoo;
break;
case "kalilinux":
iconRes = R.raw.kalilinux;
break;
case "slackware":
iconRes = R.raw.slackware;
break;
case "ubuntu":
iconRes = R.raw.ubuntu;
break;
}
}
InputStream imageStream = view.getResources().openRawResource(iconRes);
Bitmap bitmap = BitmapFactory.decodeStream(imageStream);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<string name="ssh_preferences">SSH</string>
<string name="vnc_preferences">VNC</string>
<string name="fb_preferences">Framebuffer</string>
<string name="about_text">This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see <a href="https://github.com/meefik/linuxdeploy">project page</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> or <a href="http://meefik.ru">developer site</a>.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3</string>
<string name="about_text">This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see <a href="https://github.com/meefik/linuxdeploy">project page</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> or <a href="http://meefik.ru">developer site</a>.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3</string>
<string name="menu_install">Installieren</string>
<string name="menu_configure">Configure</string>
<string name="dialog_title_fb_args_preference">FB: X Eigenschaften</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<string name="vnc_preferences">VNC</string>
<string name="fb_preferences">Framebuffer</string>
<string name="help_text">\n<b>Help</b><![CDATA[\n\nThis application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nProcedure:\n1. Get superuser privileges (root).\n2. Check the connection to Internet.\n3. Specify the installation options.\n4. Start the installation (\"Menu => Install\").\n5. Wait until the installation is complete.\n6. Tap \"START\" button to run the container.\n7. Connect to the container through CLI, SSH, VNC, or others.\n\nFor more information, see \"About\".]]></string>
<string name="about_text">This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see <a href="https://github.com/meefik/linuxdeploy">project page</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> or <a href="http://meefik.ru">developer site</a>.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3</string>
<string name="about_text">This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see <a href="https://github.com/meefik/linuxdeploy">project page</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> or <a href="http://meefik.ru">developer site</a>.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3</string>
<string name="menu_configure">Configurar</string>
<string name="menu_install">Instalar</string>
<string name="summary_debug_mode_preference">Mostrar información de depuración</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<string name="vnc_preferences">VNC</string>
<string name="fb_preferences">Tampon de trame</string>
<string name="help_text">\n<b>Help</b><![CDATA[\n\nThis application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nProcedure:\n1. Get superuser privileges (root).\n2. Check the connection to Internet.\n3. Specify the installation options.\n4. Start the installation (\"Menu => Install\").\n5. Wait until the installation is complete.\n6. Tap \"START\" button to run the container.\n7. Connect to the container through CLI, SSH, VNC, or others.\n\nFor more information, see \"About\".]]></string>
<string name="about_text">This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see <a href="https://github.com/meefik/linuxdeploy">project page</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> or <a href="http://meefik.ru">developer site</a>.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3</string>
<string name="about_text">This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see <a href="https://github.com/meefik/linuxdeploy">project page</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> or <a href="http://meefik.ru">developer site</a>.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3</string>
<string name="menu_configure">Configurer</string>
<string name="menu_install">Installer</string>
<string name="summary_debug_mode_preference">Affiche les informations de débugage</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-in/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,6 @@
<string name="summary_fb_refresh_preference">"Paksa refresh framebuffer"</string>

<string name="help_text">"\n<b>Bantuan</b>\n\nAplikasi ini untuk menginstal distribusi GNU/Linux yang dipilih dan menjalankannya dalam container chroot.\n\nProsedur:\n1. Dapatkan hak istimewa superuser (root).\n2. Periksa koneksi Internet.\n3. Tentukan pilihan instalasi.\n4. Jalankan instalasi (\"Menu =&gt; Install\").\n5. Tunggu sampai penginstalan selesai.\n6. Ketuk tombol \"START\" untuk menjalankan container.\n7. Sambungkan melalui CLI, SSH, VNC, atau lainnya.\n\nUntuk informasi lebih lanjut, lihat \"Tentang\"."</string>
<string name="about_text">"Aplikasi ini untuk menginstal distribusi GNU/Linux yang dipilih dan menjalankannya dalam container chroot.\n\nUntuk informasi lebih lanjut, lihat <a href="https://github.com/meefik/linuxdeploy">halaman project</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> atau <a href="http://meefik.ru">situs pengembang</a>.\n\n© 2012-2018 Anton Skshidlevsky, GPLv3"</string>
<string name="about_text">"Aplikasi ini untuk menginstal distribusi GNU/Linux yang dipilih dan menjalankannya dalam container chroot.\n\nUntuk informasi lebih lanjut, lihat <a href="https://github.com/meefik/linuxdeploy">halaman project</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> atau <a href="http://meefik.ru">situs pengembang</a>.\n\n© 2012-2019 Anton Skshidlevsky, GPLv3"</string>

</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<string name="vnc_preferences">VNC</string>
<string name="fb_preferences">Framebuffer</string>
<string name="help_text">\n<b>Help</b><![CDATA[\n\nThis application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nProcedure:\n1. Get superuser privileges (root).\n2. Check the connection to Internet.\n3. Specify the installation options.\n4. Start the installation (\"Menu => Install\").\n5. Wait until the installation is complete.\n6. Tap \"START\" button to run the container.\n7. Connect to the container through CLI, SSH, VNC, or others.\n\nFor more information, see \"About\".]]></string>
<string name="about_text">This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see <a href="https://github.com/meefik/linuxdeploy">project page</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> or <a href="http://meefik.ru">developer site</a>.\n\n© 2012–2018 Anton Skshidlevsky, GPLv3</string>
<string name="about_text">This application installs the selected GNU/Linux distribution and executes it in a chroot-container.\n\nFor more information see <a href="https://github.com/meefik/linuxdeploy">project page</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> or <a href="http://meefik.ru">developer site</a>.\n\n© 2012–2019 Anton Skshidlevsky, GPLv3</string>
<string name="menu_configure">Configura</string>
<string name="menu_install">Installa</string>
<string name="summary_debug_mode_preference">Mostra informazioni di debug</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ko/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,6 @@
<string name="summary_fb_refresh_preference">강제로 Framebuffer 새로고침</string>

<string name="help_text">\n<b>도움말</b>\n\n이 응용 프로그램은 GNU/Linux 배포판을 설치하고 chroot로 마운트 하는 프로그램 입니다.\n\n순서 :\n1. 루트 권한을 허용해 주세요. (루팅해야 합니다.)\n2. <a href="https://play.google.com/store/apps/details?id=ru.meefik.busybox">이 경로</a>를 통해 BusyBox를 설치하세요. (반드시 이 BusyBox로 설치하셔야 합니다.)\n3. 인터넷 연결을 확인하세요.\n4. 밑에 있는 다운로드 아이콘을 눌러서 설치 환경을 설정하세요.\n5. 설치버튼을 누르세요.\n6. 설치가 모두 다되는동안 기다리세요.\n7. \"START\" 버튼을 눌러서 시작하세요.\n8. CLI, SSH, VNC 등으로 리눅스에 연결하세요.\n\n자세한 내용은 \"정보\" 를 참고해 주세요.\n\n만약 설치 및 실행하는데 오류가 발생한다면 <a href="https://github.com/meefik/linuxdeploy/wiki/%EB%AC%B8%EC%A0%9C%EB%A5%BC-%ED%95%B4%EA%B2%B0%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95">이 링크</a>로 가셔서 문제 해결방법을 보세요.\n\n버그 신고는 <a href="https://github.com/meefik/linuxdeploy/issues">여기</a>(한글가능, Github 아이디 필요) 로 해 주세요.</string>
<string name="about_text">이 응용 프로그램은 GNU/Linux 배포판을 설치하고 chroot로 마운트 하는 프로그램 입니다.\n\n자세한 내용은 <a href="https://github.com/meefik/linuxdeploy">프로젝트 사이트</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">포럼(러시아어)</a> 또는 <a href="http://meefik.ru">개발자 사이트(러시아어)</a> 를 확인하세요.\n\n&#169; 2012&#8211;2018 Anton Skshidlevsky, GPLv3</string>
<string name="about_text">이 응용 프로그램은 GNU/Linux 배포판을 설치하고 chroot로 마운트 하는 프로그램 입니다.\n\n자세한 내용은 <a href="https://github.com/meefik/linuxdeploy">프로젝트 사이트</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">포럼(러시아어)</a> 또는 <a href="http://meefik.ru">개발자 사이트(러시아어)</a> 를 확인하세요.\n\n&#169; 2012&#8211;2019 Anton Skshidlevsky, GPLv3</string>

</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<string name="title_fb_freeze_preference">Zatrzymaj Android UI</string>
<string name="dialog_title_fb_freeze_preference">Zatrzymaj Android UI</string>
<string name="help_text">\n<b>Pomoc</b>\n\nTa aplikacja instaluje wybraną dystrybucję GNU/Linux i uruchamia ją w środowisku chroot.\n\nProcedura:\n1. Zdobądź uprawnienia root.\n2. Sprawdź połączenie internetowe.\n3. Określ ustawienia instalacji.\n4. Rozpocznij instalację (\"Właściwości => Instaluj\").\n5. Poczekaj do zakończenia instalacji.\n6. Naciśnij przycisk \"URUCHOM\", aby uruchomić profil.\n7. Połącz się używając CLI, SSH, VNC lub innych.\n\nAby uzyskać więcej informacji zobacz \"O programie\".</string>
<string name="about_text">Ta aplikacja instaluje wybraną dystrybucję GNU/Linux i uruchamia ją w środowisku chroot.\n\nAby uzyskać więcej informacji zobacz <a href="https://github.com/meefik/linuxdeploy">stronę projektu</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> lub <a href="http://meefik.ru">stronę programisty</a>.\n\n&#169; 2012&#8211;2018 Anton Skshidlevsky, GPLv3</string>
<string name="about_text">Ta aplikacja instaluje wybraną dystrybucję GNU/Linux i uruchamia ją w środowisku chroot.\n\nAby uzyskać więcej informacji zobacz <a href="https://github.com/meefik/linuxdeploy">stronę projektu</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">forum</a> lub <a href="http://meefik.ru">stronę programisty</a>.\n\n&#169; 2012&#8211;2019 Anton Skshidlevsky, GPLv3</string>
<string name="nav_profiles">Profile</string>
<string name="services_preferences">Zarządzanie</string>
<string name="title_configure_dialog">Konfiguruj</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<string name="title_fb_freeze_preference">Congelar UI do Android</string>
<string name="dialog_title_fb_freeze_preference">Congelar UI do Android</string>
<string name="help_text">\n<b>Ajuda</b>\n\nEssa aplicação instala a distribuição GNU/Linux selecionada e a executa em um container chroot.\n\nProcesso:\n1. Conseguir privilégios de super-usuário (root).\n2. Instalar <a href="https://play.google.com/store/apps/details?id=ru.meefik.busybox">BusyBox</a>.\n3. Verificar conexão com a Internet.\n4. Especificar as opções da instalação.\n5. Iniciar a instalação (\"Propriedades => Instalar\").\n6. Esperar até que a instalação seja concluída.\n7. Apertar o botão \"INICIAR\" para executar o container.\n8. Conectar ao container através de CLI, SSH, VNC ou outros.\n\nPara mais informações, veja \"Sobre\".</string>
<string name="about_text">Essa aplicação instala a distribuição GNU/Linux e a executa em um container chroot.\n\nPara mais informações veja <a href="https://github.com/meefik/linuxdeploy">página do projeto</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">fórum</a> ou <a href="http://meefik.ru">site do desenvolvedor</a>.\n\n&#169; 2012&#8211;2018 Anton Skshidlevsky, GPLv3</string>
<string name="about_text">Essa aplicação instala a distribuição GNU/Linux e a executa em um container chroot.\n\nPara mais informações veja <a href="https://github.com/meefik/linuxdeploy">página do projeto</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">fórum</a> ou <a href="http://meefik.ru">site do desenvolvedor</a>.\n\n&#169; 2012&#8211;2019 Anton Skshidlevsky, GPLv3</string>
<string name="services_preferences">Gestão</string>
<string name="title_configure_dialog">Configurar</string>
<string name="gui_preferences">GUI</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<string name="vnc_preferences">VNC</string>
<string name="fb_preferences">Framebuffer</string>
<string name="help_text">\n<b>Справка</b>\n\nПриложение устанавливает выбранный GNU/Linux дистрибутив и запускает его в chroot-контейнере.\n\nПорядок действий:\n1. Получить права суперпользователя (root).\n2. Проверить подключение к интернету.\n3. Указать параметры установки.\n4. Запустить установку (\"Меню => Установить\").\n5. Дождаться окончания установки.\n6. Запустить контейнер кнопкой \"СТАРТ\".\n7. Подключиться к контейнеру через CLI, SSH, VNC или др.\n\nДополнительную информацию см. в разделе \"О программе\".</string>
<string name="about_text">Приложение устанавливает выбранный GNU/Linux дистрибутив и запускает его в chroot-контейнере.\n\nЗа дополнительной информацией обращайтесь на <a href="https://github.com/meefik/linuxdeploy">страницу проекта</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">форум</a> или <a href="http://meefik.ru">сайт разработчика</a>.\n\n&#169; 2012&#8211;2018 Антон Скшидлевский, GPLv3</string>
<string name="about_text">Приложение устанавливает выбранный GNU/Linux дистрибутив и запускает его в chroot-контейнере.\n\nЗа дополнительной информацией обращайтесь на <a href="https://github.com/meefik/linuxdeploy">страницу проекта</a>, <a href="http://4pda.ru/forum/index.php?showtopic=378043">форум</a> или <a href="http://meefik.ru">сайт разработчика</a>.\n\n&#169; 2012&#8211;2019 Антон Скшидлевский, GPLv3</string>
<string name="summary_debug_mode_preference">Включить отображение отладочной информации</string>
<string name="summary_disk_size_preference">Вычисляется автоматически</string>
<string name="summary_fb_refresh_preference">Принудительно обновлять фреймбуфер</string>
Expand Down
Loading

0 comments on commit 467eb94

Please sign in to comment.