From af8873d0efa46f6adbab2edcaf278e0e43f24d23 Mon Sep 17 00:00:00 2001 From: Evan Burkey Date: Fri, 25 Jul 2025 14:49:59 -0700 Subject: [PATCH] build --- FyneApp.toml | 2 +- pkg/patching/patching.go | 6 +----- pkg/ui/popup.go | 3 ++- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/FyneApp.toml b/FyneApp.toml index bdcda13..d16dc40 100644 --- a/FyneApp.toml +++ b/FyneApp.toml @@ -3,4 +3,4 @@ Name = "EpochSilicon" ID = "com.burkey.epochsilicon" Version = "1.0.3" - Build = 25 + Build = 27 diff --git a/pkg/patching/patching.go b/pkg/patching/patching.go index 763a4a5..0465285 100644 --- a/pkg/patching/patching.go +++ b/pkg/patching/patching.go @@ -478,7 +478,7 @@ func BuildRosetta() (string, string, error) { _, err = git.PlainClone(clonedDir, &git.CloneOptions{ URL: "https://github.com/fputs/rosettax87", - Progress: log.Writer, + Progress: os.Stdout, RecurseSubmodules: git.DefaultSubmoduleRecursionDepth, SingleBranch: true, }) @@ -488,8 +488,6 @@ func BuildRosetta() (string, string, error) { cmd := exec.Command("cmake", "-B", "build") cmd.Dir = clonedDir - cmd.Stdout = log.Writer - cmd.Stderr = log.Writer err = cmd.Run() if err != nil { return "", "", fmt.Errorf("failed to create build files: %v", err) @@ -497,8 +495,6 @@ func BuildRosetta() (string, string, error) { cmd = exec.Command("cmake", "--build", "build") cmd.Dir = clonedDir - cmd.Stdout = log.Writer - cmd.Stderr = log.Writer err = cmd.Run() if err != nil { return "", "", fmt.Errorf("failed to build rosettax87: %v", err) diff --git a/pkg/ui/popup.go b/pkg/ui/popup.go index 597742f..b43e943 100644 --- a/pkg/ui/popup.go +++ b/pkg/ui/popup.go @@ -203,7 +203,8 @@ func showTroubleshootingPopup() { // --- Build Rosettax87 Locally --- buildRosettaButton = widget.NewButton("Build", func() { - msg := "Building rosettax87 on your computer may speed up launch times. This requires xcode-commandline-tools and Cmake to be installed. See the instructions at https://git.burkey.co/eburk/epochsilicon/README.md" + msg := "Building rosettax87 on your computer may speed up launch times. This requires xcode-commandline-tools and Cmake to be installed. See the instructions at https://git.burkey.co/eburk/epochsilicon/README.md\n\n" + msg += "Click YES to start the build process. This could take up to a minute depending on the the speed of your Mac. A popup will let you know when the files have been built and copied to the right place." dialog.NewConfirm("Build rosettax87", msg, func(confirm bool) { if confirm { // Check for dependencies