diff --git a/acode.keystore b/acode.keystore deleted file mode 100644 index c247a87b2..000000000 Binary files a/acode.keystore and /dev/null differ diff --git a/sign.sh b/sign.sh deleted file mode 100644 index 7fe25848b..000000000 --- a/sign.sh +++ /dev/null @@ -1,30 +0,0 @@ - -## convert aab bundle to APK - -# grab tool for conversion -if [ ! -f bundletool-all-1.13.1.jar ]; then - wget https://github.com/google/bundletool/releases/download/1.13.1/bundletool-all-1.13.1.jar -fi - -# generate signature -if [ ! -f acode.keystore ]; then -# keytool -genkey -v -keystore acode.keystore -alias acode -keyalg RSA -keysize 2048 -validity 10000 -storepasswd acode123 -keypasswd acode123 -keytool -genkey -alias acode \ - -keyalg RSA -keystore acode.keystore \ - -dname "CN=Mark Smith, OU=JavaSoft, O=Sun, L=Cupertino, S=California, C=US" \ - -validity 36500 \ - -keysize 4096 \ - -storepass password -keypass password -fi - -# cleanup if needed -rm -rf *.apks toc.pb - -# convert to apk -for aab in *.aab; do -java -jar "bundletool-all-1.13.1.jar" build-apks --bundle=$aab --mode=universal --output="${aab%.*}.apks" --ks=acode.keystore --ks-pass=pass:password --ks-key-alias=acode --key-pass=pass:password - -# extract apk -unzip ${aab%.*}.apks -mv -v universal.apk ${aab%.*}.apk -done \ No newline at end of file diff --git a/utils/rename.js b/utils/rename.js deleted file mode 100644 index 4827e5a0b..000000000 --- a/utils/rename.js +++ /dev/null @@ -1,55 +0,0 @@ -const path = require('path'); -const fs = require('fs'); -const { promisify } = require('util'); -const exec = promisify(require('child_process').exec); - -(async () => { - const platformsDir = path.resolve(__dirname, '../platforms/'); - const configpath = path.resolve(__dirname, '../config.xml'); - const APK_PATH = platformsDir + "/android/app/build/outputs/apk/debug/app-debug.apk"; - const AAB_PATH = platformsDir + "/android/app/build/outputs/bundle/release/app-release.aab"; - const ID_PAID = 'com.foxdebug.acode'; - const ID_FREE = 'com.foxdebug.acodefree'; - const CONFIG_VERSION = / " + target); - fs.rename(artifact, target, () => {}); - - process.exit(0); - } catch (error) { - console.error(error); - process.exit(1); - } -})(); \ No newline at end of file