mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	1stRun
This commit is contained in:
		
							parent
							
								
									147b07961f
								
							
						
					
					
						commit
						53efdc0103
					
				
					 2 changed files with 34 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								config/1stRun.desktop
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								config/1stRun.desktop
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | ||||||
|  | [Desktop Entry] | ||||||
|  | Type=Application | ||||||
|  | Name=Renew VMs | ||||||
|  | Exec=sakura -h renew.sh | ||||||
|  | Icon=/home/zen/.config/distrohopper/vms_icons/tux.svg | ||||||
|  | Categories=System;Virtualization;Settings; | ||||||
							
								
								
									
										28
									
								
								config/1stRun.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										28
									
								
								config/1stRun.sh
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,28 @@ | ||||||
|  | #!/bin/bash | ||||||
|  | source distrohopper.conf | ||||||
|  | 
 | ||||||
|  | # distrohopper first run | ||||||
|  | CONFIG_DIR="$HOME/.config/distrohopper" | ||||||
|  | 
 | ||||||
|  | # create default dirs | ||||||
|  | rm -r "$CONFIG_DIR" | ||||||
|  | mkdir -p "$CONFIG_DIR" "$CONFIG_DIR/vms_ready" "$CONFIG_DIR/vms_supported" "$CONFIG_DIR/vms_icons" | ||||||
|  | 
 | ||||||
|  | # copy icons | ||||||
|  | #cp -r vms_icons "$CONFIG_DIR/" | ||||||
|  | # copy everything to config dir | ||||||
|  | cp -r * "$CONFIG_DIR/" | ||||||
|  | 
 | ||||||
|  | # install prerequisities (Void linux) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # Install distrohopper to all users | ||||||
|  | sudo cp ../dh ../quickgui ../quicktui ../quickget ../quickemu /usr/bin/ | ||||||
|  | 
 | ||||||
|  | # Renew VMs | ||||||
|  | "$CONFIG_DIR/renew.sh" | ||||||
|  | # Set VMs dir | ||||||
|  | "$CONFIG_DIR/set_dir.sh" | ||||||
|  | 
 | ||||||
|  | echo "Done" | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue