mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 20:51:12 -06:00 
			
		
		
		
	Include timestamp in .ini files
This commit is contained in:
		
							parent
							
								
									9f719d42bc
								
							
						
					
					
						commit
						f0579e59bd
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -737,7 +737,8 @@ sub write_ini { | |||
|      | ||||
|     open my $fh, '>', $file; | ||||
|     binmode $fh, ':utf8'; | ||||
|     printf $fh "# generated by Slic3r $Slic3r::VERSION\n"; | ||||
|     my $localtime = localtime; | ||||
|     printf $fh "# generated by Slic3r $Slic3r::VERSION on $localtime\n"; | ||||
|     foreach my $category (sort keys %$ini) { | ||||
|         printf $fh "\n[%s]\n", $category if $category ne '_'; | ||||
|         foreach my $key (sort keys %{$ini->{$category}}) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Henrik Brix Andersen
						Henrik Brix Andersen