Skip to content

Commit

Permalink
Fix IsIosSandboxed
Browse files Browse the repository at this point in the history
  • Loading branch information
DanTheMan827 committed Nov 9, 2016
1 parent 5f59141 commit 8a4c2e7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions xbmc/platform/darwin/DarwinUtils.mm
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,13 @@ enum iosPlatform getIosPlatform()
{
ret = 1;
}

// Some time after ios8, Apple decided to change this yet again
if (strlen("/var/containers/Bundle/") < path_size &&
strncmp(given_path, "/var/containers/Bundle/", strlen("/var/containers/Bundle/")) == 0)
{
ret = 1;
}
}
}
return ret == 1;
Expand Down

0 comments on commit 8a4c2e7

Please sign in to comment.