Move SparklePlatform.cs to SparkleLib
This commit is contained in:
parent
27d5944692
commit
19d30b3f42
|
@ -8,6 +8,7 @@ SOURCES = \
|
|||
SparkleFetcher.cs \
|
||||
SparkleHelpers.cs \
|
||||
SparklePaths.cs \
|
||||
SparklePlatform.cs \
|
||||
SparkleRepo.cs
|
||||
|
||||
include $(top_srcdir)/build/build.mk
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
<Compile Include="Defines.cs" />
|
||||
<Compile Include="SparkleHelpers.cs" />
|
||||
<Compile Include="SparklePaths.cs" />
|
||||
<Compile Include="SparklePlatform.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ProjectExtensions>
|
||||
|
|
28
SparkleLib/SparklePlatform.cs
Normal file
28
SparkleLib/SparklePlatform.cs
Normal file
|
@ -0,0 +1,28 @@
|
|||
// SparkleShare, an instant update workflow to Git.
|
||||
// Copyright (C) 2010 Hylke Bons <hylkebons@gmail.com>
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System;
|
||||
|
||||
namespace SparkleShare {
|
||||
|
||||
public static class SparklePlatform {
|
||||
|
||||
// Detect OSX, Windows, GNOME or KDE here
|
||||
public static string Name = "GNOME";
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -10,7 +10,6 @@ LINK = $(REF_SPARKLESHARE)
|
|||
SOURCES = \
|
||||
SparkleBubble.cs \
|
||||
SparkleIntro.cs \
|
||||
SparklePlatform.cs \
|
||||
SparkleShare.cs \
|
||||
SparkleSpinner.cs \
|
||||
SparkleStatusIcon.cs \
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
<ItemGroup>
|
||||
<Compile Include="SparkleBubble.cs" />
|
||||
<Compile Include="SparkleIntro.cs" />
|
||||
<Compile Include="SparklePlatform.cs" />
|
||||
<Compile Include="SparkleShare.cs" />
|
||||
<Compile Include="SparkleSpinner.cs" />
|
||||
<Compile Include="SparkleStatusIcon.cs" />
|
||||
|
|
|
@ -7,11 +7,11 @@ SparkleDiff/SparkleDiffWindow.cs
|
|||
SparkleLib/SparkleFetcher.cs
|
||||
SparkleLib/SparkleHelpers.cs
|
||||
SparkleLib/SparklePaths.cs
|
||||
SparkleLib/SparklePlatform.cs
|
||||
SparkleLib/SparkleRepo.cs
|
||||
SparkleShare/Nautilus/sparkleshare-nautilus-extension.py.in
|
||||
SparkleShare/SparkleBubble.cs
|
||||
SparkleShare/SparkleIntro.cs
|
||||
SparkleShare/SparklePlatform.cs
|
||||
SparkleShare/SparkleShare.cs
|
||||
SparkleShare/SparkleSpinner.cs
|
||||
SparkleShare/SparkleStatusIcon.cs
|
||||
|
|
Loading…
Reference in a new issue