cloudflared-mirror/cmd/cloudflared
Sudarsan Reddy 5dbf76a7aa TUN-7335: Fix cloudflared update not working in windows
This PR fixes some long standing bugs in the windows update
paths. We previously did not surface the errors at all leading to
this function failing silently.

This PR:

1. Now returns the ExitError if the bat run for update fails.
2. Fixes the errors surfaced by that return:
    a. The batch file doesnt play well with spaces. This is fixed by
    using PROGRA~1/2 which are aliases windows uses.
    b. The existing script also seemed to be irregular about where batch
    files were put and looked for. This is also fixed in this script.
2023-04-11 08:54:38 +00:00
..
access TUN-6724: Migrate to sentry-go from raven-go 2023-01-11 15:48:03 +00:00
cliutil TUN-7135: Add cloudflared tail 2023-04-05 10:20:53 -07:00
proxydns TUN-6963: Refactor Metrics service setup 2022-11-22 11:35:48 +00:00
tail TUN-7128: Categorize logs from public hostname locations 2023-04-10 22:14:12 +00:00
tunnel TUN-7135: Add cloudflared tail 2023-04-05 10:20:53 -07:00
updater TUN-7335: Fix cloudflared update not working in windows 2023-04-11 08:54:38 +00:00
app_forward_service.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
app_resolver_service.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
app_service.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
common_service.go TUN-5679: Add support for service install using Tunnel Token 2022-03-03 18:59:03 +00:00
generic_service.go TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 2021-12-20 21:50:42 +00:00
linux_service.go TUN-5954: Start cloudflared service in Linux too similarly to other OSs 2022-03-25 13:57:47 +00:00
macos_service.go TUN-5881: Clarify success (or lack thereof) of (un)installing cloudflared service 2022-03-18 18:10:02 +00:00
main.go TUN-7135: Add cloudflared tail 2023-04-05 10:20:53 -07:00
service_template.go Ensure service install directories are created before writing file 2022-06-28 12:31:18 -05:00
windows_service.go TUN-5933: Better messaging to help user when installing service if it is already installed 2022-03-24 17:19:23 +00:00