Merge pull request #1589 from markusstoll/config_nightly
Config for nightly builds
This commit is contained in:
commit
ba0b7c776b
|
@ -13,17 +13,17 @@
|
|||
<ReleaseVersion>
|
||||
</ReleaseVersion>
|
||||
<SuppressXamMacMigration>True</SuppressXamMacMigration>
|
||||
<SuppressXamMacUpsell>True</SuppressXamMacUpsell>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG</DefineConstants>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CustomCommands>
|
||||
<CustomCommands>
|
||||
<Command type="AfterBuild" command="mkdir -p ${TargetDir}/${SolutionName}.app/Contents/Frameworks && cp -R git ${TargetDir}/${SolutionName}.app/Contents/Resources && cp -R SparkleShareInviteOpener.app ${TargetDir}/${SolutionName}.app/Contents/Resources" externalConsole="True" />
|
||||
<Command type="AfterBuild" command="sh -c 'mkdir -p ${TargetDir}/${SolutionName}.app/Contents/Frameworks && cp -R git ${TargetDir}/${SolutionName}.app/Contents/Resources && cp -R SparkleShareInviteOpener.app ${TargetDir}/${SolutionName}.app/Contents/Resources'" externalConsole="True" />
|
||||
</CustomCommands>
|
||||
</CustomCommands>
|
||||
<EnableCodeSigning>False</EnableCodeSigning>
|
||||
|
@ -37,14 +37,24 @@
|
|||
<UseRefCounting>false</UseRefCounting>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<IncludeMonoRuntime>False</IncludeMonoRuntime>
|
||||
<EnablePackageSigning>False</EnablePackageSigning>
|
||||
<CustomCommands>
|
||||
<CustomCommands>
|
||||
<Command type="AfterBuild" command="sh -c 'mkdir -p ${TargetDir}/${SolutionName}.app/Contents/Frameworks && cp -R git ${TargetDir}/${SolutionName}.app/Contents/Resources && cp -R SparkleShareInviteOpener.app ${TargetDir}/${SolutionName}.app/Contents/Resources'" externalConsole="True" />
|
||||
</CustomCommands>
|
||||
</CustomCommands>
|
||||
<EnableCodeSigning>False</EnableCodeSigning>
|
||||
<CreatePackage>False</CreatePackage>
|
||||
<EnablePackageSigning>False</EnablePackageSigning>
|
||||
<IncludeMonoRuntime>false</IncludeMonoRuntime>
|
||||
<ConsolePause>False</ConsolePause>
|
||||
<CodeSigningKey>Mac Developer</CodeSigningKey>
|
||||
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<UseSGen>false</UseSGen>
|
||||
<UseRefCounting>false</UseRefCounting>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace SparkleShare {
|
|||
|
||||
private NSImage folder_image = NSImage.ImageNamed ("NSFolder");
|
||||
private NSImage caution_image = NSImage.ImageNamed ("NSCaution");
|
||||
private NSImage sparkleshare_image = NSImage.ImageNamed ("sparkleshare-folder");
|
||||
private NSImage sparkleshare_image;
|
||||
|
||||
|
||||
public SparkleStatusIcon ()
|
||||
|
@ -57,7 +57,9 @@ namespace SparkleShare {
|
|||
this.status_item.Image.Template = true;
|
||||
|
||||
if (Environment.OSVersion.Version.Major >= 14)
|
||||
this.sparkleshare_image = NSImage.ImageNamed ("sparkleshare-folder-yosemite");
|
||||
this.sparkleshare_image = (NSImage)NSImage.ImageNamed ("sparkleshare-folder-yosemite.icns").Copy();
|
||||
else
|
||||
this.sparkleshare_image = (NSImage)NSImage.ImageNamed ("sparkleshare-folder.icns").Copy();
|
||||
|
||||
CreateMenu ();
|
||||
|
||||
|
@ -113,7 +115,7 @@ namespace SparkleShare {
|
|||
Enabled = true
|
||||
};
|
||||
|
||||
this.folder_item.Image = this.sparkleshare_image;
|
||||
this.folder_item.Image = this.sparkleshare_image;
|
||||
this.folder_item.Image.Size = new SizeF (16, 16);
|
||||
|
||||
this.add_item = new NSMenuItem () {
|
||||
|
|
Loading…
Reference in a new issue