mirror of
				https://github.com/SteamDeckHomebrew/decky-plugin-template.git
				synced 2025-10-30 14:52:29 -05:00 
			
		
		
		
	Fix setup cli detection (#26)
This commit is contained in:
		
					parent
					
						
							
								4beeece512
							
						
					
				
			
			
				commit
				
					
						625eaf2897
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								.vscode/setup.sh
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.vscode/setup.sh
									
										
									
									
										vendored
									
									
								
							|  | @ -1,7 +1,7 @@ | |||
| #!/usr/bin/env bash | ||||
| PNPM_INSTALLED="$(which pnpm)" | ||||
| DOCKER_INSTALLED="$(which docker)" | ||||
| CLI_INSTALLED="$(test -f $(pwd)/cli/decky | echo "$?")" | ||||
| CLI_INSTALLED="$(pwd)/cli/decky" | ||||
| 
 | ||||
| # echo "$PNPM_INSTALLED" | ||||
| # echo "$DOCKER_INSTALLED" | ||||
|  | @ -34,7 +34,7 @@ if [[ "$DOCKER_INSTALLED" =~ "which" ]]; then | |||
|     echo "Docker is not currently installed, in order build plugins with a backend you will need to have Docker installed. Please install Docker via the preferred method for your distribution." | ||||
| fi | ||||
| 
 | ||||
| if [[ "$CLI_INSTALLED" > "0" ]] || [[ "$CLI_INSTALLED" < "0" ]]; then | ||||
| if ! test -f "$CLI_INSTALLED"; then | ||||
|     echo "The Decky CLI tool (binary file is just called "decky") is used to build your plugin as a zip file which you can then install on your Steam Deck to perform testing. We highly recommend you install it. Hitting enter now will run the script to install Decky CLI and extract it to a folder called cli in the current plugin directory. You can also type 'no' and hit enter to skip this but keep in mind you will not have a usable plugin without building it." | ||||
|     read run_cli_script | ||||
|     if [[ "$run_cli_script" =~ "n" ]]; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue