Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 467eb94

Browse files
committed
Release 2.3.0
1 parent 2e8adbd commit 467eb94

File tree

17 files changed

+54
-43
lines changed

17 files changed

+54
-43
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [2.3.0] - 2019-03-02
10+
### Changed
11+
- Code refactoring and migrated to AndroidX (issue #1058)
12+
13+
### Fixed
14+
- Fixed start on boot on Android 8.1 (issue #1041)
15+
- Fixed notification channels (issue #1059)
16+
- Fixed Arch Linux bootstrap (issue #1055)
17+
918
## [2.2.2] - 2018-11-25
1019
### Changed
1120
- Have separate source/target inputs for mounts (issue #1019)

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
applicationId 'ru.meefik.linuxdeploy'
99
minSdkVersion 15
1010
targetSdkVersion 28
11-
versionCode 244
12-
versionName "2.2.2"
11+
versionCode 245
12+
versionName "2.3.0"
1313
}
1414
buildTypes {
1515
release {

app/src/main/assets/env

app/src/main/java/ru/meefik/linuxdeploy/RepositoryActivity.java

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
public class RepositoryActivity extends AppCompatActivity {
4040

4141
private List<Map<String, String>> profiles = new ArrayList<>();
42-
private ArrayAdapter adapter;
42+
private ArrayAdapter<Map<String, String>> adapter;
4343

4444
private boolean isDonated() {
4545
return getPackageManager().checkSignatures(getPackageName(), "ru.meefik.donate")
@@ -115,31 +115,33 @@ public View getView(int position, View convertView, ViewGroup parent) {
115115
String desc = profiles.get(position).get("DESC");
116116
String type = profiles.get(position).get("TYPE");
117117
int iconRes = R.raw.linux;
118-
switch (type) {
119-
case "archlinux":
120-
iconRes = R.raw.archlinux;
121-
break;
122-
case "centos":
123-
iconRes = R.raw.centos;
124-
break;
125-
case "debian":
126-
iconRes = R.raw.debian;
127-
break;
128-
case "fedora":
129-
iconRes = R.raw.fedora;
130-
break;
131-
case "gentoo":
132-
iconRes = R.raw.gentoo;
133-
break;
134-
case "kalilinux":
135-
iconRes = R.raw.kalilinux;
136-
break;
137-
case "slackware":
138-
iconRes = R.raw.slackware;
139-
break;
140-
case "ubuntu":
141-
iconRes = R.raw.ubuntu;
142-
break;
118+
if (type != null) {
119+
switch (type) {
120+
case "archlinux":
121+
iconRes = R.raw.archlinux;
122+
break;
123+
case "centos":
124+
iconRes = R.raw.centos;
125+
break;
126+
case "debian":
127+
iconRes = R.raw.debian;
128+
break;
129+
case "fedora":
130+
iconRes = R.raw.fedora;
131+
break;
132+
case "gentoo":
133+
iconRes = R.raw.gentoo;
134+
break;
135+
case "kalilinux":
136+
iconRes = R.raw.kalilinux;
137+
break;
138+
case "slackware":
139+
iconRes = R.raw.slackware;
140+
break;
141+
case "ubuntu":
142+
iconRes = R.raw.ubuntu;
143+
break;
144+
}
143145
}
144146
InputStream imageStream = view.getResources().openRawResource(iconRes);
145147
Bitmap bitmap = BitmapFactory.decodeStream(imageStream);

app/src/main/res/values-de/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<string name="ssh_preferences">SSH</string>
5757
<string name="vnc_preferences">VNC</string>
5858
<string name="fb_preferences">Framebuffer</string>
59-
<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>
59+
<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>
6060
<string name="menu_install">Installieren</string>
6161
<string name="menu_configure">Configure</string>
6262
<string name="dialog_title_fb_args_preference">FB: X Eigenschaften</string>

app/src/main/res/values-es/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<string name="vnc_preferences">VNC</string>
8181
<string name="fb_preferences">Framebuffer</string>
8282
<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>
83-
<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>
83+
<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>
8484
<string name="menu_configure">Configurar</string>
8585
<string name="menu_install">Instalar</string>
8686
<string name="summary_debug_mode_preference">Mostrar información de depuración</string>

app/src/main/res/values-fr/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<string name="vnc_preferences">VNC</string>
8181
<string name="fb_preferences">Tampon de trame</string>
8282
<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>
83-
<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>
83+
<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>
8484
<string name="menu_configure">Configurer</string>
8585
<string name="menu_install">Installer</string>
8686
<string name="summary_debug_mode_preference">Affiche les informations de débugage</string>

app/src/main/res/values-in/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,6 @@
306306
<string name="summary_fb_refresh_preference">"Paksa refresh framebuffer"</string>
307307

308308
<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>
309-
<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>
309+
<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>
310310

311311
</resources>

app/src/main/res/values-it/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<string name="vnc_preferences">VNC</string>
8181
<string name="fb_preferences">Framebuffer</string>
8282
<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>
83-
<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>
83+
<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>
8484
<string name="menu_configure">Configura</string>
8585
<string name="menu_install">Installa</string>
8686
<string name="summary_debug_mode_preference">Mostra informazioni di debug</string>

app/src/main/res/values-ko/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,6 @@
300300
<string name="summary_fb_refresh_preference">강제로 Framebuffer 새로고침</string>
301301

302302
<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>
303-
<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>
303+
<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>
304304

305305
</resources>

0 commit comments

Comments
 (0)