Skip to content

Commit

Permalink
Merge pull request #1 from fatroom/relative_includes
Browse files Browse the repository at this point in the history
Fixed handling of relative includes

Not testing this
  • Loading branch information
leppie authored Oct 8, 2021
2 parents 0fb8fbe + 180fa65 commit 79a291b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ See [this post](https://forums.flightsimulator.com/t/guide-how-to-extract-base-p

Once you have extracted the MSFS 'base' packages to a location, you only need to point to it the first time using `-s`.

Example: `-s "c:\MSFS Base\Packages\fs-base-propdefs\Propdefs\1.0\"` .
Example: `-s "c:\MSFS Base\Packages\fs-base-propdefs\Propdefs\1.0\Common"` .

After that it will use a cache file called `propdefs.cache`, and you dont need to specify `-s` anymore.

Expand Down
2 changes: 1 addition & 1 deletion SymbolBank.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private SymbolBank()
public bool AddSymbolDefinitionFile(string url)
{
// extract directory
string dirName = new FileInfo(url).DirectoryName;
string dirName = new FileInfo(url).Directory.Parent.FullName;

XmlDocument doc = new XmlDocument();
doc.Load(url);
Expand Down

0 comments on commit 79a291b

Please sign in to comment.