mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-10-31 17:25:06 +03:00 
			
		
		
		
	path variable skope fix
This commit is contained in:
		
							parent
							
								
									1e0794761b
								
							
						
					
					
						commit
						6d596cba72
					
				
					 3 changed files with 4 additions and 2 deletions
				
			
		|  | @ -20,8 +20,6 @@ import ( | |||
| 	"github.com/RiV-chain/RiV-mesh/src/admin" | ||||
| ) | ||||
| 
 | ||||
| var riv_ctrl_path string | ||||
| 
 | ||||
| func main() { | ||||
| 	debug := true | ||||
| 	w := webview.New(debug) | ||||
|  |  | |||
|  | @ -7,6 +7,8 @@ import ( | |||
| 	"os/exec" | ||||
| ) | ||||
| 
 | ||||
| var riv_ctrl_path string | ||||
| 
 | ||||
| func run_command(command string) []byte { | ||||
| 	args := []string{"-json", command} | ||||
| 	cmd := exec.Command(riv_ctrl_path, args...) | ||||
|  |  | |||
|  | @ -8,6 +8,8 @@ import ( | |||
| 	//"syscall" | ||||
| ) | ||||
| 
 | ||||
| var riv_ctrl_path string | ||||
| 
 | ||||
| func run_command(command string) []byte { | ||||
| 	args := []string{"-json", command} | ||||
| 	cmd := exec.Command(riv_ctrl_path, args...) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 vadym
						vadym