Skip to content

Commit

Permalink
Remove documentation of --legacy-notarization, since it was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Piolat committed Dec 19, 2023
1 parent 5a8d7a5 commit c0507c2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tools/dplug-build/source/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ void usage()
flag("--root", "Path to operate in instead of the current working dir", null, ".");
flag("--installer", "Make an installer " ~ "(Windows and OSX only)".lred, null, "no");
flag("--notarize", "Notarize the installer " ~ "(OSX only)".lred, null, "no");
flag("--legacy-notarization", " Use legacy notarization method " ~ "(OSX only)".lred, null, "no");
flag("--publish", "Make the plugin available in standard directories " ~ "(OSX only)".lred, null, "no");
flag("--auval", "Check Audio Unit validation with auval " ~ "(OSX only)".lred, null, "no");
flag("--rez", "Generate Audio Unit .rsrc file with Rez " ~ "(OSX only)".lred, null, "no");
Expand Down Expand Up @@ -161,7 +160,6 @@ int main(string[] args)
bool auval = false;
bool makeInstaller = false;
bool notarize = false;
bool legacyNotarization = false;
bool useRez = false;
bool skipRegistry = false;
bool parallel = false;
Expand Down Expand Up @@ -228,10 +226,6 @@ int main(string[] args)
{
notarize = true;
}
else if (arg == "--legacy-notarization")
{
legacyNotarization = true;
}
else if (arg == "--root")
{
++i;
Expand Down Expand Up @@ -1403,7 +1397,7 @@ int main(string[] args)
string primaryBundle = plugin.getNotarizationBundleIdentifier(configurations[0]);

cwritefln("*** Notarizing final Mac installer %s...", primaryBundle);
notarizeMacInstaller(outputDir, plugin, finalPkgPath, primaryBundle, verbose, legacyNotarization);
notarizeMacInstaller(outputDir, plugin, finalPkgPath, primaryBundle, verbose);
cwriteln(" => Notarization OK".lgreen);
cwriteln;
}
Expand Down Expand Up @@ -1618,7 +1612,7 @@ void generateMacInstaller(string rootDir,
safeCommand(cmd);
}

void notarizeMacInstaller(string outputDir, Plugin plugin, string outPkgPath, string primaryBundleId, bool verbose, bool legacyNotarization)
void notarizeMacInstaller(string outputDir, Plugin plugin, string outPkgPath, string primaryBundleId, bool verbose)
{
string verboseFlag = verbose ? "--verbose " : "";

Expand Down

0 comments on commit c0507c2

Please sign in to comment.