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