[Android] Remove boinccmd binary from apk

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2020-02-15 15:04:05 +01:00
parent 06cb0cc3d7
commit 83771db9bf
6 changed files with 0 additions and 11 deletions

View File

@ -85,7 +85,6 @@ public class Monitor extends Service {
// XML defined variables, populated in onCreate
private String fileNameClient;
private String fileNameCLI;
private String fileNameCABundle;
private String fileNameClientConfig;
private String fileNameGuiAuthentication;
@ -120,7 +119,6 @@ public class Monitor extends Service {
// populate attributes with XML resource values
boincWorkingDir = getString(R.string.client_path);
fileNameClient = getString(R.string.client_name);
fileNameCLI = getString(R.string.client_cli);
fileNameCABundle = getString(R.string.client_cabundle);
fileNameClientConfig = getString(R.string.client_config);
fileNameGuiAuthentication = getString(R.string.auth_file_name);
@ -688,10 +686,6 @@ public class Monitor extends Service {
if (Logging.ERROR) Log.d(Logging.TAG, "Failed to install: " + fileNameClient);
return false;
}
if (!installFile(fileNameCLI, true, true, "")) {
if (Logging.ERROR) Log.d(Logging.TAG, "Failed to install: " + fileNameCLI);
return false;
}
if (!installFile(fileNameCABundle, true, false, "")) {
if (Logging.ERROR) Log.d(Logging.TAG, "Failed to install: " + fileNameCABundle);
return false;

View File

@ -20,7 +20,6 @@
<!-- path and file configuration -->
<string name="client_path" translatable="false">/data/data/edu.berkeley.boinc/client/</string>
<string name="client_name" translatable="false">boinc</string>
<string name="client_cli" translatable="false">boinccmd</string>
<string name="client_cabundle" translatable="false">ca-bundle.crt</string>
<string name="client_config" translatable="false">cc_config.xml</string>
<string name="auth_file_name" translatable="false">gui_rpc_auth.cfg</string>

View File

@ -58,7 +58,6 @@ if [ -n "$COMPILEBOINC" ]; then
cd android
mkdir -p "BOINC/app/src/main/assets"
cp "$BOINC/stage/usr/local/bin/boinc" "BOINC/app/src/main/assets/armeabi-v7a/boinc"
cp "$BOINC/stage/usr/local/bin/boinccmd" "BOINC/app/src/main/assets/armeabi-v7a/boinccmd"
cp "$BOINC/win_build/installerv2/redist/all_projects_list.xml" "BOINC/app/src/main/assets/all_projects_list.xml"
cp "$BOINC/curl/ca-bundle.crt" "BOINC/app/src/main/assets/ca-bundle.crt"

View File

@ -58,7 +58,6 @@ if [ -n "$COMPILEBOINC" ]; then
cd android
mkdir -p "BOINC/app/src/main/assets"
cp "$BOINC/stage/usr/local/bin/boinc" "BOINC/app/src/main/assets/arm64-v8a/boinc"
cp "$BOINC/stage/usr/local/bin/boinccmd" "BOINC/app/src/main/assets/arm64-v8a/boinccmd"
cp "$BOINC/win_build/installerv2/redist/all_projects_list.xml" "BOINC/app/src/main/assets/all_projects_list.xml"
cp "$BOINC/curl/ca-bundle.crt" "BOINC/app/src/main/assets/ca-bundle.crt"

View File

@ -58,7 +58,6 @@ if [ -n "$COMPILEBOINC" ]; then
cd android
mkdir -p "BOINC/app/src/main/assets"
cp "$BOINC/stage/usr/local/bin/boinc" "BOINC/app/src/main/assets/x86/boinc"
cp "$BOINC/stage/usr/local/bin/boinccmd" "BOINC/app/src/main/assets/x86/boinccmd"
cp "$BOINC/win_build/installerv2/redist/all_projects_list.xml" "BOINC/app/src/main/assets/all_projects_list.xml"
cp "$BOINC/curl/ca-bundle.crt" "BOINC/app/src/main/assets/ca-bundle.crt"

View File

@ -58,7 +58,6 @@ if [ -n "$COMPILEBOINC" ]; then
cd android
mkdir -p "BOINC/app/src/main/assets"
cp "$BOINC/stage/usr/local/bin/boinc" "BOINC/app/src/main/assets/x86_64/boinc"
cp "$BOINC/stage/usr/local/bin/boinccmd" "BOINC/app/src/main/assets/x86_64/boinccmd"
cp "$BOINC/win_build/installerv2/redist/all_projects_list.xml" "BOINC/app/src/main/assets/all_projects_list.xml"
cp "$BOINC/curl/ca-bundle.crt" "BOINC/app/src/main/assets/ca-bundle.crt"