mirror of
https://github.com/r0adkll/sign-android-release
synced 2026-10-07 12:01:35 +00:00
Tweaked zip align params
This commit is contained in:
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ function signApkFile(apkFile, signingKeyFile, alias, keyStorePassword, keyPasswo
|
|||||||
// Align the apk file
|
// Align the apk file
|
||||||
const alignedApkFile = apkFile.replace('.apk', '-aligned.apk');
|
const alignedApkFile = apkFile.replace('.apk', '-aligned.apk');
|
||||||
yield exec.exec(`"${zipAlign}"`, [
|
yield exec.exec(`"${zipAlign}"`, [
|
||||||
'-v', '-p', '4',
|
'-v', '4',
|
||||||
apkFile,
|
apkFile,
|
||||||
alignedApkFile
|
alignedApkFile
|
||||||
]);
|
]);
|
||||||
|
|||||||
+2
-2
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "sign-android-release",
|
"name": "sign-android-release",
|
||||||
"version": "1.0.0",
|
"version": "1.0.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "GitHub action used to sign Android release packages",
|
"description": "GitHub action used to sign Android release packages",
|
||||||
"main": "lib/main.js",
|
"main": "lib/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"deploy": "npm run build && ./update_release.sh"
|
"deploy": "tsc && ./update_release.sh"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ export async function signApkFile(
|
|||||||
// Align the apk file
|
// Align the apk file
|
||||||
const alignedApkFile = apkFile.replace('.apk', '-aligned.apk');
|
const alignedApkFile = apkFile.replace('.apk', '-aligned.apk');
|
||||||
await exec.exec(`"${zipAlign}"`, [
|
await exec.exec(`"${zipAlign}"`, [
|
||||||
'-v', '-p', '4',
|
'-v', '4',
|
||||||
apkFile,
|
apkFile,
|
||||||
alignedApkFile
|
alignedApkFile
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in new issue
Block a user