mirror of
https://github.com/encounter/linuxdeploy-plugin-appimage.git
synced 2026-07-10 12:18:44 -07:00
Fix appimagetool -g/-u weirdness
CC https://github.com/AppImage/AppImageKit/issues/864
This commit is contained in:
+2
-2
@@ -107,6 +107,8 @@ int main(const int argc, const char* const* const argv) {
|
||||
std::cout << "Embedding update information: " << updateInformation << std::endl;
|
||||
args.push_back(strdup("-u"));
|
||||
args.push_back(updateInformation);
|
||||
} else {
|
||||
args.push_back(strdup("-g"));
|
||||
}
|
||||
|
||||
if (getenv("SIGN") != nullptr) {
|
||||
@@ -120,8 +122,6 @@ int main(const int argc, const char* const* const argv) {
|
||||
if (getenv("OUTPUT") != nullptr) {
|
||||
args.push_back(strdup(getenv("OUTPUT")));
|
||||
}
|
||||
|
||||
args.push_back(strdup("-g"));
|
||||
|
||||
args.push_back(nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user