Permalink
Browse files

fix dylib loading, bump to 0.4

  • Loading branch information...
1 parent 8cdccf8 commit c8068df00571d976e3b280bc4e73091cf5644601 anthony taranto committed Aug 23, 2011
Binary file not shown.
@@ -14,15 +14,8 @@ public partial class AppDelegate : NSApplicationDelegate
{
public override void FinishedLaunching (NSObject notification)
{
- try
- {
- LSSharedFileList.InsertLoginItem(NSBundle.MainBundle.BundlePath);
- }
- catch
- {
-
- }
-
+ LSSharedFileList.InsertLoginItem(NSBundle.MainBundle.BundlePath);
+
var container = new Container();
Tepeyac.Funq.Registry.Register(container);
@@ -11,7 +11,7 @@
<key>CFBundleName</key>
<string>Tepeyac.Mac</string>
<key>CFBundleVersion</key>
- <string>0.2</string>
+ <string>0.4</string>
<key>LSMinimumSystemVersion</key>
<string>10.5</string>
<key>NSMainNibFile</key>
@@ -4,10 +4,7 @@ namespace Tepeyac.Mac.Integration
{
public static class LSSharedFileList
{
- private const string path = "@executable_path/../Resources/libIntegration.dylib";
-
- [DllImport(path)]
+ [DllImport("Integration")]
public static extern void InsertLoginItem(string path);
}
-}
-
+}
@@ -11,6 +11,8 @@
<RootNamespace>Tepeyac.Mac</RootNamespace>
<AssemblyName>Tepeyac.Mac</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <ReleaseVersion>0.4</ReleaseVersion>
+ <SynchReleaseVersion>false</SynchReleaseVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -96,5 +98,6 @@
<Content Include="..\..\ext\libIntegration.dylib">
<Link>libIntegration.dylib</Link>
</Content>
+ <Content Include="tepeyac.icns" />
</ItemGroup>
</Project>

0 comments on commit c8068df

Please sign in to comment.