-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4d006a
commit a2d55a6
Showing
5 changed files
with
882 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
diff --git a/Stardrop/Stardrop.csproj b/Stardrop/Stardrop.csproj | ||
index 3eb4c3a..7342618 100644 | ||
--- a/Stardrop/Stardrop.csproj | ||
+++ b/Stardrop/Stardrop.csproj | ||
@@ -82,87 +82,4 @@ | ||
<Generator>MSBuild:Compile</Generator> | ||
</Content> | ||
</ItemGroup> | ||
- | ||
- <ItemGroup Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='linux-x64'"> | ||
- <WSL Include="wsl" Condition="$([MSBuild]::IsOSPlatform('Windows'))" /> | ||
- <BashScript Include="$(ProjectDir)\Assets\Stardrop.sh" /> | ||
- <RenameExecutableLinux Include="$(PublishDir)\Stardrop" /> | ||
- <RenameDatabaseLinux Include="$(PublishDir)\Stardrop.pdb" /> | ||
- <ZipName Include="Stardrop-linux-x64.zip" /> | ||
- </ItemGroup> | ||
- | ||
- <Target Name="FolderProfile - Linux" AfterTargets="Publish" Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='linux-x64'"> | ||
- <Delete Files="$(PublishDir)/$(ZipName)" /> | ||
- | ||
- <Copy SourceFiles="@(RenameExecutableLinux)" DestinationFiles="@(RenameExecutableLinux->Replace('Stardrop','Internal'))" /> | ||
- <Copy SourceFiles="@(RenameDatabaseLinux)" DestinationFiles="@(RenameDatabaseLinux->Replace('Stardrop','Internal'))" /> | ||
- <Delete Files="@(RenameExecutableLinux);@(RenameDatabaseLinux)" /> | ||
- | ||
- <Copy SourceFiles="@(BashScript)" DestinationFolder="$(PublishDir)" /> | ||
- | ||
- <Exec Command="@(WSL) mkdir Stardrop" WorkingDirectory="$(PublishDir)" /> | ||
- | ||
- <Move SourceFiles="$(PublishDir)/Internal;$(PublishDir)/Internal.pdb;$(PublishDir)/Stardrop.sh" DestinationFolder="$(PublishDir)/Stardrop" /> | ||
- <Exec Command="@(WSL) mv Themes Stardrop" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="@(WSL) mv i18n Stardrop" WorkingDirectory="$(PublishDir)" /> | ||
- | ||
- <Exec Command="@(WSL) chmod 755 Stardrop" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="@(WSL) chmod +x Stardrop.sh" WorkingDirectory="$(PublishDir)/Stardrop" /> | ||
- <Exec Command="@(WSL) chmod 644 Internal" WorkingDirectory="$(PublishDir)/Stardrop" /> | ||
- <Exec Command="@(WSL) chmod 644 Internal.pdb" WorkingDirectory="$(PublishDir)/Stardrop" /> | ||
- <Exec Command="@(WSL) zip -r @(ZipName) Stardrop" WorkingDirectory="$(PublishDir)" /> | ||
- | ||
- <RemoveDir Directories="$(PublishDir)/Stardrop" /> | ||
- </Target> | ||
- | ||
- <ItemGroup Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='osx-x64'"> | ||
- <WSL Include="wsl" /> | ||
- <TempFolderPath Include="Stardrop_Temp" /> | ||
- <AppFolderPath Include="$(ProjectDir)Assets\Stardrop.app" /> | ||
- <MacOSFolderPath Include="Stardrop.app\Contents\MacOS" /> | ||
- <InfoPath Include="$(ProjectDir)\Assets\Info.plist" /> | ||
- <IconPath Include="$(ProjectDir)\Assets\Stardrop.icns" /> | ||
- <ZipName Include="Stardrop-osx-x64.zip" /> | ||
- </ItemGroup> | ||
- | ||
- <Target Name="FolderProfile - MacOS" AfterTargets="Publish" Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='osx-x64'"> | ||
- <Exec Command="del @(ZipName) 2>nul" WorkingDirectory="$(PublishDir)" /> | ||
- | ||
- <Exec Command="xcopy /E /I /Y "@(AppFolderPath)" Stardrop.app" WorkingDirectory="$(PublishDir)" /> | ||
- | ||
- <Exec Command="move Themes @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="move i18n @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="move *.dylib @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="move Stardrop @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="move Stardrop.pdb @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" /> | ||
- | ||
- <Copy SourceFiles="@(InfoPath)" DestinationFolder="$(PublishDir)/Stardrop.app/Contents" /> | ||
- <Copy SourceFiles="@(IconPath)" DestinationFolder="$(PublishDir)/Stardrop.app/Contents/Resources" /> | ||
- | ||
- <Exec Command="@(WSL) chmod +x Stardrop" WorkingDirectory="$(PublishDir)@(MacOSFolderPath)" /> | ||
- | ||
- <Exec Command="@(WSL) zip -r @(ZipName) Stardrop.app" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="rmdir Stardrop.app /S /Q" WorkingDirectory="$(PublishDir)" /> | ||
- </Target> | ||
- | ||
- | ||
- <ItemGroup Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='win-x64'"> | ||
- <WSL Include="wsl" /> | ||
- <TempFolderPath Include="Stardrop_Temp" /> | ||
- <ZipName Include="Stardrop-win-x64.zip" /> | ||
- </ItemGroup> | ||
- | ||
- <Target Name="FolderProfile - Windows" AfterTargets="Publish" Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='win-x64'"> | ||
- <Exec Command="del @(ZipName) 2>nul" WorkingDirectory="$(PublishDir)" /> | ||
- | ||
- <Exec Command="@(WSL) mkdir @(TempFolderPath)" WorkingDirectory="$(PublishDir)" /> | ||
- | ||
- <Exec Command="@(WSL) mv Themes @(TempFolderPath)" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="@(WSL) mv i18n @(TempFolderPath)" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="@(WSL) mv Stardrop.exe Stardrop.pdb @(TempFolderPath)" WorkingDirectory="$(PublishDir)" /> | ||
- | ||
- <Exec Command="ren @(TempFolderPath) Stardrop" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="@(WSL) zip -r @(ZipName) Stardrop" WorkingDirectory="$(PublishDir)" /> | ||
- <Exec Command="rmdir Stardrop /S /Q" WorkingDirectory="$(PublishDir)" /> | ||
- </Target> | ||
</Project> |
Oops, something went wrong.