Fix custom working directories not working again

Woops, I forgot to add the exe path when setting the DLL directory,
causing custom working directories to stop working. This will fix that.
This commit is contained in:
Mogzol 2016-09-13 20:10:29 -07:00
parent d438d8f307
commit ab9568fb6b
4 changed files with 14 additions and 10 deletions

View File

@ -15,6 +15,12 @@ namespace BrawlBuilder
{
partial class BrawlBuilder
{
private bool _remove_en;
private bool _showWit;
private State _state;
private static string _basePath = Path.GetDirectoryName(Application.ExecutablePath);
private enum State
{
Analyze,
@ -57,12 +63,6 @@ namespace BrawlBuilder
{"stgfamicom", "st_famicom"}, /* Mario Bros. */
};
private bool _remove_en;
private bool _showWit;
private State _state;
private static string _basePath = Path.GetDirectoryName(Application.ExecutablePath);
private void buildWorker_DoWork(object sender, DoWorkEventArgs e)
{
// Don't remove the _en suffix by default

View File

@ -1,12 +1,13 @@
using System;
using System.Windows.Forms;
using System.Reflection;
using System.IO;
namespace BrawlBuilder
{
static class Program
{
private const string DllDir = @"Resources\";
private static string DllDir = Path.GetDirectoryName(Application.ExecutablePath) + @"\Resources\";
/// <summary>
/// The main entry point for the application.

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyFileVersion("1.2.1.0")]
[assembly: AssemblyVersion("1.2.2.0")]
[assembly: AssemblyFileVersion("1.2.2.0")]

View File

@ -1,5 +1,5 @@
------------------------------------/
------- BRAWLBUILDER v1.2.1 -------/
------- BRAWLBUILDER v1.2.2 -------/
----------------------------------/
"The Ultimate Super Smash Bros. Brawl ISO Builder"
@ -85,6 +85,9 @@ if it doesn't, just copy it manually.
--------------------/
------ Changelog --/
------------------/
1.2.2:
- Fix custom working directories not working (again)
1.2.1:
- Remove the BrawlBuilder.exe.config file
- Fix 'Custom banner' browse button appearance for certain Windows versions/themes