Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Commit

Permalink
Added the possibility to get the current directory of the app (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeyr committed Jul 3, 2022
1 parent 602db46 commit 6b0f86c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LeoCorpLibrary/Env.cs
Original file line number Diff line number Diff line change
Expand Up @@ -592,5 +592,7 @@ public static bool IsDarkThemeAvailable
}
}
}

public static string CurrentAppDirectory => Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
}
}

0 comments on commit 6b0f86c

Please sign in to comment.