fixes windows build
This commit is contained in:
parent
c2f76958c8
commit
2427ebf395
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
@ -80,6 +80,7 @@
|
|||
</Compile>
|
||||
<Compile Include="..\SparkleWatcher.cs">
|
||||
<Link>SparkleWatcher.cs</Link>
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="..\SparkleWatcherFactory.cs">
|
||||
<Link>SparkleWatcherFactory.cs</Link>
|
||||
|
@ -167,4 +168,4 @@
|
|||
<PropertyGroup>
|
||||
<PreBuildEvent>"$(ProjectDir)transform_tt.cmd"</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
</Project>
|
|
@ -32,13 +32,6 @@ namespace SparkleShare {
|
|||
private Label updates;
|
||||
|
||||
|
||||
// Short alias for the translations
|
||||
public static string _(string s)
|
||||
{
|
||||
return Program._(s);
|
||||
}
|
||||
|
||||
|
||||
public SparkleAbout ()
|
||||
{
|
||||
Title = "About SparkleShare";
|
||||
|
|
|
@ -147,7 +147,7 @@ namespace SparkleShare {
|
|||
File.Delete (shortcut_path);
|
||||
|
||||
Shortcut shortcut = new Shortcut ();
|
||||
shortcut.Create (FoldersPath, shortcut_target);
|
||||
shortcut.Create (FoldersPath, shortcut_path);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -42,13 +42,6 @@ namespace SparkleShare {
|
|||
private SparkleSpinner spinner;
|
||||
|
||||
|
||||
// Short alias for the translations
|
||||
public static string _(string s)
|
||||
{
|
||||
return Program._(s);
|
||||
}
|
||||
|
||||
|
||||
public SparkleEventLog ()
|
||||
{
|
||||
Title = "Recent Changes";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
@ -10,9 +10,10 @@
|
|||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>SparkleShareInviteOpener</RootNamespace>
|
||||
<AssemblyName>SparkleShareInviteOpener</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ApplicationIcon>..\Pixmaps\sparkleshare-app.ico</ApplicationIcon>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -38,6 +39,9 @@
|
|||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="sparkleshare-invite-opener.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
@ -46,4 +50,4 @@
|
|||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
</Project>
|
3
SparkleShare/Windows/SparkleShareInviteOpener/app.config
Normal file
3
SparkleShare/Windows/SparkleShareInviteOpener/app.config
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
|
|
@ -53,7 +53,7 @@ namespace SparkleShare {
|
|||
|
||||
if (xml.Contains ("<sparkleshare>")) {
|
||||
File.WriteAllText (target_path, xml);
|
||||
Console.WriteLine ("Downloaded invite: " + safe_url);
|
||||
Console.WriteLine ("Downloaded invite: " + url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,13 +46,7 @@ namespace SparkleShare {
|
|||
private SparkleNotifyIcon notify_icon = new SparkleNotifyIcon ();
|
||||
|
||||
|
||||
// Short alias for the translations
|
||||
public static string _ (string s)
|
||||
{
|
||||
return Program._ (s);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public SparkleStatusIcon ()
|
||||
{
|
||||
CreateAnimationFrames ();
|
||||
|
|
Loading…
Reference in a new issue