changed to mozilla-release
This commit is contained in:
parent
8de4db960a
commit
c4693c4b14
3 changed files with 9 additions and 7 deletions
10
main.go
10
main.go
|
@ -32,8 +32,8 @@ var (
|
|||
platform string
|
||||
upload bool
|
||||
uploadPath string
|
||||
sourceRepo = "https://hg.mozilla.org/mozilla-central"
|
||||
patchesRepo = "https://weforge.xyz/Spitfire/Browser.git"
|
||||
sourceRepo = "https://hg.mozilla.org/releases/mozilla-release"
|
||||
patchesRepo = "https://weforge.xyz/Spitfire/Patcher.git"
|
||||
url = "https://spitfirebrowser.xyz/"
|
||||
licence = "AGPL-3.0"
|
||||
name = "Spitfire"
|
||||
|
@ -69,7 +69,7 @@ func init() {
|
|||
func printHelp() {
|
||||
fmt.Println("Usage: go run . -p=<path-to-build> -t=<target> [-c|--compress] [-v|--version=<version>] [-component=<component>] [-arch=<architecture>] [-release=<release>] [-platform=<platform>]")
|
||||
flag.PrintDefaults()
|
||||
fmt.Println("Example: go run . --upload -c --upload-path=./mozilla-central/obj-x86_64-pc-linux-gnu/dist/bin -a")
|
||||
fmt.Println("Example: go run . --upload -c --upload-path=./mozilla-release/obj-x86_64-pc-linux-gnu/dist/bin -a")
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@ func main() {
|
|||
if compress || upload {
|
||||
// Resolve the build directory dynamically
|
||||
fmt.Println("Resolving build directory dynamically...")
|
||||
sourcePath, err := spitfire.ResolvePath("./mozilla-central")
|
||||
sourcePath, err := spitfire.ResolvePath("./mozilla-release")
|
||||
if err != nil {
|
||||
log.Fatalf("Error resolving source path: %v", err)
|
||||
}
|
||||
|
@ -146,7 +146,7 @@ func main() {
|
|||
|
||||
// Update the BuildProcess function to pass patchesRepo
|
||||
func BuildProcess() {
|
||||
sourcePath, err := spitfire.ResolvePath("./mozilla-central")
|
||||
sourcePath, err := spitfire.ResolvePath("./mozilla-release")
|
||||
if err != nil {
|
||||
log.Fatalf("Error resolving source path: %v", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue