Skip to content

Commit

Permalink
Attempt to fix signing sidestore
Browse files Browse the repository at this point in the history
Signed-off-by: Spidy123222 <[email protected]>
  • Loading branch information
Spidy123222 authored and junepark678 committed Jan 23, 2024
1 parent 1000bea commit b64930b
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions AltServer/AltServerApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1308,27 +1308,11 @@ pplx::task<std::shared_ptr<ProvisioningProfile>> AltServerApp::PrepareProvisioni
std::string preferredName;
std::string parentBundleID;

if (parentApp.has_value())
{
parentBundleID = (*parentApp)->bundleIdentifier();
preferredName = (*parentApp)->name() + " " + app->name();
}
else
{
parentBundleID = app->bundleIdentifier();
preferredName = app->name();
}
parentBundleID = app->bundleIdentifier();
preferredName = app->name();

std::string updatedParentBundleID;

if (app->isAltStoreApp())
{
updatedParentBundleID = parentBundleID + "." + team->identifier();
}
else
{
updatedParentBundleID = parentBundleID + "." + team->identifier();
}
updatedParentBundleID = parentBundleID + "." + team->identifier();

std::string bundleID = std::regex_replace(app->bundleIdentifier(), std::regex(parentBundleID), updatedParentBundleID);

Expand Down

0 comments on commit b64930b

Please sign in to comment.