File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 9696 <Compile Include =" Properties\AssemblyInfo.cs" />
9797 </ItemGroup >
9898 <ItemGroup >
99- <None Include =" app.config" />
10099 <None Include =" packages.config" />
101100 </ItemGroup >
102101 <ItemGroup >
Original file line number Diff line number Diff line change @@ -624,8 +624,8 @@ public static void OpenGitFolder(ModProjectData modProjectData)
624624 {
625625 if ( MainData != null )
626626 {
627- string directory = Path . Combine ( Path . GetFullPath ( MainData . Settings . GitRootDirectory ) , modProjectData . ProjectName ) ;
628- if ( Directory . Exists ( directory ) )
627+ string directory = modProjectData . GitData ? . RepositoryPath ;
628+ if ( ! String . IsNullOrEmpty ( directory ) && Directory . Exists ( directory ) )
629629 {
630630 Process . Start ( directory ) ;
631631 }
@@ -722,7 +722,7 @@ public static void OpenProjectFolder(ModProjectData modProjectData)
722722 if ( MainData != null )
723723 {
724724 string startPath = Path . Combine ( MainData . Settings . DOS2DEDataDirectory , "Projects" ) ;
725- string directory = Path . Combine ( Path . GetFullPath ( startPath ) , modProjectData . ProjectName ) ;
725+ string directory = Path . Combine ( Path . GetFullPath ( startPath ) , modProjectData . ProjectFolder ) ;
726726 if ( ! Directory . Exists ( directory ) )
727727 {
728728 directory = Path . Combine ( Path . GetFullPath ( startPath ) , modProjectData . ModuleInfo . Folder ) ; // Imported projects
You can’t perform that action at this time.
0 commit comments