forked from mirrors/NBTExplorer
Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
|
60f2689216 | ||
|
6e679230c0 |
5 changed files with 52 additions and 4 deletions
12
Entitlements.plist
Normal file
12
Entitlements.plist
Normal 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>
|
|
@ -309,7 +309,7 @@ namespace NBTExplorer.Mac
|
||||||
|
|
||||||
imageFrame.X += 3;
|
imageFrame.X += 3;
|
||||||
imageFrame.Size = _image.Size;
|
imageFrame.Size = _image.Size;
|
||||||
if (ofView.MouseinRect(point, imageFrame))
|
if (ofView.IsMouseInRect(point, imageFrame))
|
||||||
return NSCellHit.ContentArea;
|
return NSCellHit.ContentArea;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
<CreatePackage>False</CreatePackage>
|
<CreatePackage>False</CreatePackage>
|
||||||
<CodeSigningKey>Mac Developer</CodeSigningKey>
|
<CodeSigningKey>Mac Developer</CodeSigningKey>
|
||||||
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
|
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
|
||||||
|
<UseSGen>false</UseSGen>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
|
@ -40,8 +41,14 @@
|
||||||
<ConsolePause>False</ConsolePause>
|
<ConsolePause>False</ConsolePause>
|
||||||
<EnableCodeSigning>False</EnableCodeSigning>
|
<EnableCodeSigning>False</EnableCodeSigning>
|
||||||
<CreatePackage>False</CreatePackage>
|
<CreatePackage>False</CreatePackage>
|
||||||
<CodeSigningKey>Mac Developer</CodeSigningKey>
|
<CodeSigningKey>Developer ID Application: Justin Aquadro (Z8QFJNBZ68)</CodeSigningKey>
|
||||||
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
|
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
|
||||||
|
<CustomCommands>
|
||||||
|
<CustomCommands>
|
||||||
|
<Command type="AfterBuild" command="codesign -f -s "Developer ID Application: Justin Aquadro (Z8QFJNBZ68)" --resource-rules ResourceRules.plist NBTExplorer.app" workingdir="${TargetDir}" />
|
||||||
|
</CustomCommands>
|
||||||
|
</CustomCommands>
|
||||||
|
<UseSGen>false</UseSGen>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|AnyCPU' ">
|
||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
|
@ -57,6 +64,7 @@
|
||||||
<EnableCodeSigning>True</EnableCodeSigning>
|
<EnableCodeSigning>True</EnableCodeSigning>
|
||||||
<CreatePackage>True</CreatePackage>
|
<CreatePackage>True</CreatePackage>
|
||||||
<CodeSigningKey>3rd Party Mac Developer Application</CodeSigningKey>
|
<CodeSigningKey>3rd Party Mac Developer Application</CodeSigningKey>
|
||||||
|
<UseSGen>false</UseSGen>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
@ -81,6 +89,9 @@
|
||||||
<None Include="Properties\Settings.settings" />
|
<None Include="Properties\Settings.settings" />
|
||||||
<None Include="LICENSE.txt" />
|
<None Include="LICENSE.txt" />
|
||||||
<None Include="Mac\Scratch.cs" />
|
<None Include="Mac\Scratch.cs" />
|
||||||
|
<None Include="ResourceRules.plist">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" />
|
<Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" />
|
||||||
|
|
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("2.0.2.0")]
|
[assembly: AssemblyVersion("2.0.3.0")]
|
||||||
[assembly: AssemblyFileVersion("2.0.2.0")]
|
[assembly: AssemblyFileVersion("2.0.3.0")]
|
||||||
|
|
25
ResourceRules.plist
Normal file
25
ResourceRules.plist
Normal 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>
|
Loading…
Reference in a new issue