-
Notifications
You must be signed in to change notification settings - Fork 19
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
Showing
5 changed files
with
67 additions
and
8 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,51 @@ | ||
echo off | ||
SET VS=14.0 | ||
SET BUILDER=%ProgramFiles(x86)%\MSBuild\%VS%\Bin\MSBuild.exe | ||
SET InnoCompiler=%ProgramFiles(x86)%\Inno Setup 5\ISCC.exe | ||
|
||
|
||
:build32 | ||
echo %DATE% %TIME%: Cleaning MFIGamepadFeeder (x86) | ||
"%BUILDER%" MFIGamepadFeeder.sln /maxcpucount:1 /t:clean /p:Platform=x86;Configuration="Release (Local)" | ||
set BUILD_STATUS=%ERRORLEVEL% | ||
if not %BUILD_STATUS%==0 goto fail | ||
|
||
echo %DATE% %TIME%: Building MFIGamepadFeeder (x86) | ||
"%BUILDER%" MFIGamepadFeeder.sln /maxcpucount:4 /p:Platform=x86;Configuration="Release (Local)" | ||
set BUILD_STATUS=%ERRORLEVEL% | ||
if not %BUILD_STATUS%==0 goto fail | ||
|
||
:build64 | ||
echo %DATE% %TIME%: Cleaning MFIGamepadFeeder (x64) | ||
"%BUILDER%" MFIGamepadFeeder.sln /maxcpucount:1 /t:clean /p:Platform=x64;Configuration="Release (Local)" | ||
set BUILD_STATUS=%ERRORLEVEL% | ||
if not %BUILD_STATUS%==0 goto fail | ||
|
||
echo %DATE% %TIME%: Building MFIGamepadFeeder (x64) | ||
"%BUILDER%" MFIGamepadFeeder.sln /maxcpucount:4 /p:Platform=x64;Configuration="Release (Local)" | ||
set BUILD_STATUS=%ERRORLEVEL% | ||
if not %BUILD_STATUS%==0 goto fail | ||
|
||
:inno32 | ||
echo %DATE% %TIME%: Compiling the Inno Setup Script (x86) | ||
IF NOT EXIST "%InnoCompiler%" GOTO NOINNO | ||
"%InnoCompiler%" setup_x86.iss | ||
set INNO_STATUS=%ERRORLEVEL% | ||
if not %INNO_STATUS%==0 goto fail | ||
echo %DATE% %TIME%: Compiling the Inno Setup Script (x86) - OK | ||
|
||
:inno64 | ||
echo %DATE% %TIME%: Compiling the Inno Setup Script (x64) | ||
IF NOT EXIST "%InnoCompiler%" GOTO NOINNO | ||
"%InnoCompiler%" setup_x64.iss | ||
set INNO_STATUS=%ERRORLEVEL% | ||
if not %INNO_STATUS%==0 goto fail | ||
echo %DATE% %TIME%: Compiling the Inno Setup Script (x64) - OK | ||
exit /b 0 | ||
|
||
:NOINNO | ||
echo %DATE% %TIME%: Could not find Inno Setup Compiler | ||
goto fail | ||
|
||
:fail | ||
exit /b 1 |
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 |
---|---|---|
@@ -1,17 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Configuration; | ||
using System.Data; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
using System.Windows; | ||
using NBug; | ||
|
||
namespace MFIGamepadFeeder | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
public App() | ||
{ | ||
Settings.ReleaseMode = true; | ||
|
||
AppDomain.CurrentDomain.UnhandledException += Handler.UnhandledException; | ||
Current.DispatcherUnhandledException += Handler.DispatcherUnhandledException; | ||
} | ||
} | ||
} | ||
} |
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
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
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