From ac3c97af49e62c792cc7bdcfc51603c6289c63ed Mon Sep 17 00:00:00 2001 From: ezdiy Date: Mon, 26 Oct 2020 13:11:27 +0100 Subject: [PATCH] Pocketbook: Use a single launcher (#6814) * Pocketbook: Use a single launcher and make the system one a "symlink" --- Makefile | 2 +- platform/pocketbook/system_koreader.app | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 platform/pocketbook/system_koreader.app diff --git a/Makefile b/Makefile index 6351cf001..15012bec1 100644 --- a/Makefile +++ b/Makefile @@ -254,7 +254,7 @@ pbupdate: all mkdir -p $(INSTALL_DIR)/applications mkdir -p $(INSTALL_DIR)/system/bin cp $(POCKETBOOK_DIR)/koreader.app $(INSTALL_DIR)/applications - cp $(POCKETBOOK_DIR)/koreader.app $(INSTALL_DIR)/system/bin + cp $(POCKETBOOK_DIR)/system_koreader.app $(INSTALL_DIR)/system/bin/koreader.app cp $(COMMON_DIR)/spinning_zsync $(INSTALL_DIR)/koreader cp -rfL $(INSTALL_DIR)/koreader $(INSTALL_DIR)/applications find $(INSTALL_DIR)/applications/koreader \ diff --git a/platform/pocketbook/system_koreader.app b/platform/pocketbook/system_koreader.app new file mode 100755 index 000000000..99ede5dbd --- /dev/null +++ b/platform/pocketbook/system_koreader.app @@ -0,0 +1,2 @@ +#!/bin/sh +exec /mnt/ext1/applications/koreader.app "$@"