mirror of https://github.com/tteck/Proxmox.git
				
				
				
			feat(scripts): add free games claimer script
This commit is contained in:
		
							parent
							
								
									50c85b4bd3
								
							
						
					
					
						commit
						57998d903c
					
				| 
						 | 
					@ -33,15 +33,10 @@ $STD apt-get update
 | 
				
			||||||
$STD apt-get install -y nodejs
 | 
					$STD apt-get install -y nodejs
 | 
				
			||||||
msg_ok "Installed Node.js"
 | 
					msg_ok "Installed Node.js"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Yarn"
 | 
					 | 
				
			||||||
$STD npm install -g yarn
 | 
					 | 
				
			||||||
msg_ok "Installed Yarn"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
msg_info "Installing Free Games Claimer"
 | 
					msg_info "Installing Free Games Claimer"
 | 
				
			||||||
git clone -q https://github.com/vogler/free-games-claimer.git /opt/free-games-claimer
 | 
					git clone -q https://github.com/vogler/free-games-claimer.git /opt/freegamesclaimer
 | 
				
			||||||
cd /opt/free-games-claimer
 | 
					cd /opt/freegamesclaimer
 | 
				
			||||||
$STD yarn install
 | 
					$STD npm install
 | 
				
			||||||
$STD yarn build
 | 
					 | 
				
			||||||
msg_ok "Installed Free Games Claimer"
 | 
					msg_ok "Installed Free Games Claimer"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing apprise"
 | 
					msg_info "Installing apprise"
 | 
				
			||||||
| 
						 | 
					@ -56,7 +51,7 @@ After=network.target
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Service]
 | 
					[Service]
 | 
				
			||||||
Type=exec
 | 
					Type=exec
 | 
				
			||||||
WorkingDirectory=/opt/free-games-claimer
 | 
					WorkingDirectory=/opt/freegamesclaimer
 | 
				
			||||||
ExecStart=/usr/bin/yarn start
 | 
					ExecStart=/usr/bin/yarn start
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Install]
 | 
					[Install]
 | 
				
			||||||
| 
						 | 
					@ -68,6 +63,10 @@ msg_ok "Created Service"
 | 
				
			||||||
motd_ssh
 | 
					motd_ssh
 | 
				
			||||||
customize
 | 
					customize
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					msg_info "Setting up Epic Games"
 | 
				
			||||||
 | 
					$STD node epic-games
 | 
				
			||||||
 | 
					msg_info "Set up Epic games"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Cleaning up"
 | 
					msg_info "Cleaning up"
 | 
				
			||||||
$STD apt-get -y autoremove
 | 
					$STD apt-get -y autoremove
 | 
				
			||||||
$STD apt-get -y autoclean
 | 
					$STD apt-get -y autoclean
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue