mirror of
				https://github.com/bestnite/bilinovel-downloader.git
				synced 2025-10-31 10:50:35 +00:00 
			
		
		
		
	This commit introduces NFPM configuration in `.goreleaser.yaml` to generate native packages for various Linux distributions (e.g., .deb, .rpm, .apk). This provides a more streamlined installation experience for Linux users. The Playwright browser installation logic has been moved from `main.go` to the `Run` function of the `download` command. This change ensures that Playwright binaries are only downloaded and installed when the `download` command is actually invoked, improving initial application startup performance and reducing unnecessary overhead for other commands. The Goreleaser configuration has also been updated to version 2 syntax and the `arm` architecture has been removed from builds.
		
			
				
	
	
		
			10 lines
		
	
	
		
			113 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			113 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package cmd
 | |
| 
 | |
| import (
 | |
| 	"github.com/spf13/cobra"
 | |
| )
 | |
| 
 | |
| var RootCmd = &cobra.Command{
 | |
| 	Use: "bilinovel-downloader",
 | |
| }
 |