mirror of
https://github.com/mogzol/BrawlBuilder.git
synced 2025-02-22 19:47:11 +01:00
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:
parent
d438d8f307
commit
ab9568fb6b
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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")]
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user