Compare commits

...

2 commits

Author SHA1 Message Date
Justin Aquadro
60f2689216 Update for more recent Xamarin stuff. Designate new mac development branch. 2014-03-24 01:06:42 -04:00
Justin Aquadro
6e679230c0 Prep for code-signing 2013-08-22 22:44:28 -04:00
5 changed files with 52 additions and 4 deletions

12
Entitlements.plist Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>$(TeamIdentifierPrefix)jaquadro.nbtexplorer</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix)jaquadro.nbtexplorer</string>
</dict>
</plist>

View file

@ -309,7 +309,7 @@ namespace NBTExplorer.Mac
imageFrame.X += 3;
imageFrame.Size = _image.Size;
if (ofView.MouseinRect(point, imageFrame))
if (ofView.IsMouseInRect(point, imageFrame))
return NSCellHit.ContentArea;
}

View file

@ -27,6 +27,7 @@
<CreatePackage>False</CreatePackage>
<CodeSigningKey>Mac Developer</CodeSigningKey>
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
<UseSGen>false</UseSGen>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
@ -40,8 +41,14 @@
<ConsolePause>False</ConsolePause>
<EnableCodeSigning>False</EnableCodeSigning>
<CreatePackage>False</CreatePackage>
<CodeSigningKey>Mac Developer</CodeSigningKey>
<CodeSigningKey>Developer ID Application: Justin Aquadro (Z8QFJNBZ68)</CodeSigningKey>
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
<CustomCommands>
<CustomCommands>
<Command type="AfterBuild" command="codesign -f -s &quot;Developer ID Application: Justin Aquadro (Z8QFJNBZ68)&quot; --resource-rules ResourceRules.plist NBTExplorer.app" workingdir="${TargetDir}" />
</CustomCommands>
</CustomCommands>
<UseSGen>false</UseSGen>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|AnyCPU' ">
<DebugType>none</DebugType>
@ -57,6 +64,7 @@
<EnableCodeSigning>True</EnableCodeSigning>
<CreatePackage>True</CreatePackage>
<CodeSigningKey>3rd Party Mac Developer Application</CodeSigningKey>
<UseSGen>false</UseSGen>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
@ -81,6 +89,9 @@
<None Include="Properties\Settings.settings" />
<None Include="LICENSE.txt" />
<None Include="Mac\Scratch.cs" />
<None Include="ResourceRules.plist">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" />

View file

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.2.0")]
[assembly: AssemblyFileVersion("2.0.2.0")]
[assembly: AssemblyVersion("2.0.3.0")]
[assembly: AssemblyFileVersion("2.0.3.0")]

25
ResourceRules.plist Normal file
View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>rules</key>
<dict>
<key>.*</key>
<true/>
<key>Info.plist</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>ResourceRules.plist</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>100</real>
</dict>
</dict>
</dict>
</plist>