Skip to content

Commit 9a47dc0

Browse files
committed
Allow passing signing args to appimagetool
1 parent c529d31 commit 9a47dc0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ int main(const int argc, const char* const* const argv) {
119119
args.push_back(strdup("--sign-key"));
120120
args.push_back(strdup(signingKey));
121121
}
122+
123+
const char* signingArgs = getenv("SIGN_ARGS");
124+
if (signingArgs != nullptr) {
125+
args.push_back(strdup("--sign-args"));
126+
args.push_back(strdup(signingArgs));
127+
}
122128
}
123129

124130
if (getenv("VERBOSE") != nullptr) {

0 commit comments

Comments
 (0)