Skip to content

Commit

Permalink
fix mod packager
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewinator56 committed Feb 15, 2023
1 parent b935948 commit 5556c1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion StormLoader/StormLoader/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public partial class MainWindow : Window
public XmlDocument currentProfile = new XmlDocument();
public string gameLocation = "";
public List<ModListItem> modListItems = new List<ModListItem>();
public string version = "v1.1";
public string version = "v1.1.1";
public bool x64 { get; set; }
public bool notx64 { get { return !x64; } set { x64=!value; } }
mod_handling.ModInstaller mi = new mod_handling.ModInstaller();
Expand Down
2 changes: 1 addition & 1 deletion StormLoader/StormLoader/Packager/ModPackager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static void PackageSteam(string steamRoot, string slpRoot, string name)

File.Create(missionRoot + "/script.lua");
ZipFile z = new ZipFile();
z.AddFile(slpRoot + "/" + name + ".slp");
z.AddFile(slpRoot + "/" + name + ".slp", "/");
z.Save(missionRoot + "/vehicle_2.xml");

/**
Expand Down
1 change: 1 addition & 0 deletions StormLoader/StormLoader/Packager/PackagerControlPanel.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<DockPanel Margin="20">
<Label Content="Mod Packager" FontSize="25" DockPanel.Dock="Top"/>
<Label Content="Use this to package a mod from source files and to convert to steam formatting, if you need help click the help icons" FontSize="16" DockPanel.Dock="Top"/>
<Label Content="If you experience an error, ensure all your folders are separated before selecting them (i.e if you add an info folder ensure that does not contain any other already added folders)" FontSize="16" DockPanel.Dock="Top"/>
<Border BorderThickness="2 2 2 2" BorderBrush="{DynamicResource border-color}" CornerRadius="5" DockPanel.Dock="Top">
<DockPanel Margin="10">
<Label Content="Mod Data Files" FontSize="18" DockPanel.Dock="Top"/>
Expand Down

0 comments on commit 5556c1c

Please sign in to comment.