changed naming for per-program proxy configs

This commit is contained in:
Baipyrus 2024-08-30 16:30:56 +02:00
parent ea6990681e
commit a66ffd0e4c
2 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,9 @@ import (
// saveCmd represents the save command // saveCmd represents the save command
var saveCmd = &cobra.Command{ var saveCmd = &cobra.Command{
Use: "save", Use: "save",
Short: "Save some new internet proxy settings", Short: "Save a new internet proxy config",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
fmt.Printf("Saving New Proxy Settings...\n") fmt.Printf("Saving New Proxy Config...\n")
// Block process until interrupted // Block process until interrupted
done := make(chan os.Signal, 1) done := make(chan os.Signal, 1)

View File

@ -37,7 +37,7 @@ $ctxDisable.Add_Click({
# Add "Save Proxy Setting" menu item # Add "Save Proxy Setting" menu item
$ctxSave = New-Object System.Windows.Forms.ToolStripMenuItem $ctxSave = New-Object System.Windows.Forms.ToolStripMenuItem
$ctxSave.Text = 'Save New Proxy' $ctxSave.Text = 'Save New Config'
$ctxSave.Add_Click({ $ctxSave.Add_Click({
Start-Process powershell.exe -ArgumentList '-Command', 'go run . save' Start-Process powershell.exe -ArgumentList '-Command', 'go run . save'
}) })