mirror of
				https://github.com/chev2/RoR2-Mods.git
				synced 2025-10-30 08:11:54 +00:00 
			
		
		
		
	zipfiles.py script explanation
This commit is contained in:
		
							parent
							
								
									7c5eb929db
								
							
						
					
					
						commit
						0dbafca5d3
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -1,6 +1,10 @@ | |||
| import os | ||||
| import zipfile | ||||
| 
 | ||||
| # zipfiles.py | ||||
| # Takes all folders in the .thunderstore/ folder and puts them into .zip files | ||||
| # Essentially prepares mods for uploading to Thunderstore | ||||
| 
 | ||||
| def zipfiles(z_obj, dir): | ||||
|     for root, dirs, files in os.walk(dir): | ||||
|         for file in files: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Chev
						Chev