[mtouch] The executable path in the app is in the Contents/MacOS subdirectory (just like for macOS apps)

This commit is contained in:
Rolf Bjarne Kvinge 2020-11-17 09:30:08 +01:00
Родитель 17e5519692
Коммит f48991fadd
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1012,6 +1012,10 @@ namespace Xamarin.Bundler {
get {
if (Embeddinator)
return Path.Combine (AppDirectory, "Frameworks", ExecutableName + ".framework", ExecutableName);
if (Platform == ApplePlatform.MacCatalyst)
return Path.Combine (AppDirectory, "Contents", "MacOS", ExecutableName);
return Path.Combine (AppDirectory, ExecutableName);
}
}