Skip to content

Commit

Permalink
Fixed the tool not working in MG 3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Martenfur committed Jun 8, 2019
1 parent 8d22906 commit bcd0f9f
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 8 deletions.
28 changes: 28 additions & 0 deletions NoPipeline/NoPipeline/NoPipeline.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -31,6 +46,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
Expand Down Expand Up @@ -61,5 +79,15 @@
</None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Content Include="icon.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
6 changes: 3 additions & 3 deletions NoPipeline/NoPipeline/NoPipeline.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<Project InitialTargets="NoPipeline" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="NoPipeline">
<ItemGroup>
<ContentReferences Include="@(MonoGameContentReference)"/>
<NPLContentReferences Include="@(MonoGameContentReference)"/>
</ItemGroup>

<Exec Command="NoPipeline.exe %(ContentReferences.FullPath)"
<Exec Command="NoPipeline.exe %(NPLContentReferences.FullPath)"
WorkingDirectory="$(MSBuildProgramFiles32)\NoPipeline\"/>
</Target>
</Project>
</Project>
Binary file added NoPipeline/NoPipeline/icon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ the `.mgcb` config and will leave a perfectly valid config after itself.

## Now we're talking. How do I integrate this thing in my project?

First of all, install the [latest relase](https://github.com/gnFur/NoPipeline/releases/tag/1.0.0) of NoPipeline.
First of all, install the [latest relase](https://github.com/gnFur/NoPipeline/releases/tag/1.0.0.1) of NoPipeline.
After that, you will need a NPL config. NPL config is what NoPipeline uses to
generate MGCB config. Inside it looks like this:

Expand Down
8 changes: 4 additions & 4 deletions installer/packInstaller.nsi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SetCompressor /SOLID /FINAL lzma
SetCompressor /SOLID /FINAL lzma

!define APPNAME "NoPipeline"
!define INSTALLERVERSION "1.0.0.0"
!define INSTALLERVERSION "1.0.0.1"

!define MUI_ICON "pics\icon.ico"
!define MUI_UNICON "pics\icon.ico"
Expand Down Expand Up @@ -44,7 +44,7 @@ RequestExecutionLevel admin
; UI stuff.


; The stuff to install
; The stuff to install.
Section "Main" Main
SectionIn RO

Expand All @@ -64,7 +64,7 @@ Section "Main" Main
SectionEnd


Function .onInit
Function .onInit
IntOp $0 $0 | ${SF_RO}
IntOp $0 ${SF_SELECTED} | ${SF_RO}
FunctionEnd
Expand Down

0 comments on commit bcd0f9f

Please sign in to comment.