README.md in mods folders no longer in .pakced
This commit is contained in:
		
							parent
							
								
									6319d05b8f
								
							
						
					
					
						commit
						046aad4f68
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -55,7 +55,7 @@ There is 2 types of "configuration" of mod folder: *simple* and *with misc* | ||||||
| 
 | 
 | ||||||
| ### Simple mod | ### Simple mod | ||||||
| 
 | 
 | ||||||
| Everyting in mod folder will be packed in `.packed` file. That's it. Pretty | Everyting in mod folder except `README.md` will be packed in `.packed` file. That's it. Pretty | ||||||
| simple. | simple. | ||||||
| 
 | 
 | ||||||
| ### Mod with misc | ### Mod with misc | ||||||
|  |  | ||||||
|  | @ -102,8 +102,10 @@ function pack_mod($mod) { | ||||||
| 
 | 
 | ||||||
|   if (Test-Path $mod\packed\) { |   if (Test-Path $mod\packed\) { | ||||||
|     & $pack_expl_path "$output_path\$mod.packed" add -s $mod\packed; |     & $pack_expl_path "$output_path\$mod.packed" add -s $mod\packed; | ||||||
|  |     return; | ||||||
|   } else { |   } else { | ||||||
|     & $pack_expl_path "$output_path\$mod.packed" add -s $mod\; |     & $pack_expl_path "$output_path\$mod.packed" add -s $mod\; | ||||||
|  |     & $pack_expl_path "$output_path\$mod.packed" remove -d README.md; | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue