Open whi-tw opened 1 year ago
Rather than directing people to download a file, which could end up out of sync if the upstream version changes, instead bundle the scripts into the binary and add a command to output them.
//go:embed requires the files to be in a descendant directory of the file containing the directive, so move them into a subdirectory, and symlink them back to the original locations so that people can still use the legacy method
//go:embed
Rather than directing people to download a file, which could end up out of sync if the upstream version changes, instead bundle the scripts into the binary and add a command to output them.
//go:embed
requires the files to be in a descendant directory of the file containing the directive, so move them into a subdirectory, and symlink them back to the original locations so that people can still use the legacy method