twn wiki on windows
This commit is contained in:
		
							
								
								
									
										6
									
								
								bin/twn
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								bin/twn
									
									
									
									
									
								
							@@ -41,7 +41,11 @@ case "$1" in
 | 
			
		||||
    api-gen  ) "$toolpath"/gen_api_header.sh
 | 
			
		||||
               ;;
 | 
			
		||||
 | 
			
		||||
    wiki     ) xdg-open "file://$TWNROOT/docs/wiki/index.html"
 | 
			
		||||
    wiki     ) if [ "$OS" = "Windows_NT" ]; then
 | 
			
		||||
                   explorer "file://""$(cygpath -w "$(command realpath $TWNROOT/docs/wiki/index.html)")"
 | 
			
		||||
               else
 | 
			
		||||
                   xdg-open "file://$TWNROOT/docs/wiki/index.html"
 | 
			
		||||
               fi
 | 
			
		||||
               ;;
 | 
			
		||||
 | 
			
		||||
    *        ) echo "Unknown command."
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user