[재무재표] 위메이드 사업보고서(2020.12)

읽으면 진짜 재무제표 보이는 책   위메이드 사업보고서(2020.12) [재무상태표] 2020년 12월 31일 현재 (단위: 십억원) 자산 220 부채 22 자본 198

[Citrix][XenMobile] How to Wrap Android Apps using the MDX Toolkit and through the command line(+ bash script)

How to Wrap Android Apps using the MDX Toolkit and through the command line(+ bash script)





<bash script>

echo "*********************"
echo "*** Wrapping Apps ***"
echo "*********************"

KEYSTORE=~/Desktop/phil.keystore
ALIAS=phil.keystore
STOREPASS=password
SIGALG=SHA1withDSA
KEYALG=DSA

APKDIR=/Users/Administrator/Desktop/apps

APKS=`ls -r $APKDIR/*.apk`
{
    rm -rf Apps/Regular && mkdir -p Apps/Regular
    #cd ManagedAppUtility/dist
    if [ ! -f $KEYSTORE ] ; then

        # create a private/public key
        keytool -genkey \
            -dname "cn=Android Debug, o=Android, c=US" \
            -keystore $KEYSTORE \
            -keypass $STOREPASS \
            -storepass $
STOREPASS \
            -alias $ALIAS \
            -keysize "1024" \
            -sigalg $SIGALG \
            -keyalg $KEYALG

        # create a self-signed cert using the key
        keytool \
            -selfcert \
            -dname "cn=Android Debug, o=Android, c=US" \

            -alias $ALIAS \
            -keystore $KEYSTORE \
            -keypass $
STOREPASS \
            -storepass $
STOREPASS \
    fi

    for i in $APKS ; do
        bname=`basename -s .apk $i`
        java -jar -Xmx1024M /Applications/Citrix/MDXToolkit/ManagedAppUtility.jar wrap \
            -in $i \
            -keystore $KEYSTORE \
            -keyalias $ALIAS \
            -keypass $
STOREPASS \
            -storepass $
STOREPASS \
            -out Apps/Regular/$bname.mdx
    done
}

댓글

이 블로그의 인기 게시물

[C#][System.IO.Directory.GetFiles] 지정된 폴더의 파일목록 가져오기

[C#] File to Byte Array, Byte Array to File

[WPF][WebBrowser] Allow Blocked Content Setting