| The Following User Says Thank You to Schturman For This Useful Post: | ||
|
|
2012-10-26
, 07:14
|
|
Posts: 23 |
Thanked: 5 times |
Joined on Mar 2011
@ Philippines
|
#372
|
|
|
2012-10-26
, 07:24
|
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#373
|
|
|
2012-10-26
, 09:18
|
|
Posts: 120 |
Thanked: 83 times |
Joined on May 2012
|
#374
|
#!/bin/sh
apkenv_dir="/opt/apkenv/"
apkenvwrp_dir="/home/user/.apkenvwrp/"
load_backup() {
mkdir -p $apkenvwrp_dir$1
rm -rf /home/user/.apkenv/*
cp -rf $apkenvwrp_dir$1/. /home/user/.apkenv/
}
save_backup() {
cp -rf /home/user/.apkenv/. $apkenvwrp_dir$1/
rm -rf /home/user/.apkenv/*
}
if [ ! $1 ]; then
echo "Usage: apkenvwrp.sh application.apk"
echo "Do not run under root!"
exit 0
fi
if [ $(whoami) != "user" ]; then
echo "User rights required!"
exit 0
fi
if [ ! -f $1 ]; then
echo "File '"$1"' doesn't exist!"
exit 0
fi
apk_path=$(readlink -f "$1")
backup_name=$(basename "$1" ".apk")
load_backup $backup_name
cd $apkenv_dir
./apkenv $apk_path
save_backup $backup_name
exit 0
sh apkenvwrp.sh program.apk
|
|
2012-10-26
, 09:57
|
|
Posts: 41 |
Thanked: 5 times |
Joined on Oct 2012
|
#375
|
|
|
2012-10-26
, 10:06
|
|
Posts: 33 |
Thanked: 5 times |
Joined on Oct 2012
|
#376
|
deb-files of qml interface are available for download at github: https://github.com/QKit/apkenv-qml/downloads
For Harmattan (Nokia N9) is sufficient to dpkg a package, dependencies will be downloaded automatically.
For Maemo 5 (Nokia N900).. it seems, I have some chaos in repositories.
I can not install it just using dpkg - problems with dependencies.
But, please, try to do it and tell me about the result.
If the package cann't be installed, run in terminal as root:
or, if the package installs with no dependencies:Code:apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1
Code:apt-get install-f
|
|
2012-10-26
, 10:47
|
|
Posts: 41 |
Thanked: 5 times |
Joined on Oct 2012
|
#377
|
|
|
2012-10-26
, 10:51
|
|
Moderator |
Posts: 6,215 |
Thanked: 6,402 times |
Joined on Nov 2011
|
#378
|
| The Following 3 Users Say Thank You to thedead1440 For This Useful Post: | ||
|
|
2012-10-26
, 11:08
|
|
Posts: 41 |
Thanked: 5 times |
Joined on Oct 2012
|
#379
|
|
|
2012-10-26
, 11:39
|
|
|
Posts: 1,034 |
Thanked: 784 times |
Joined on Dec 2007
@ Annapolis, MD
|
#380
|
![]() |
| Tags |
| android, emu_layer, new_whazapp, orphanenv, sfdroid, thp ole ole ole, thp's up, y u disobey thp |
| Thread Tools | |
|
If can to know this, we can add automatic process..
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.