This commit is contained in:
2025-07-25 14:49:59 -07:00
parent 3d55a8da05
commit af8873d0ef
3 changed files with 4 additions and 7 deletions

View File

@@ -3,4 +3,4 @@
Name = "EpochSilicon" Name = "EpochSilicon"
ID = "com.burkey.epochsilicon" ID = "com.burkey.epochsilicon"
Version = "1.0.3" Version = "1.0.3"
Build = 25 Build = 27

View File

@@ -478,7 +478,7 @@ func BuildRosetta() (string, string, error) {
_, err = git.PlainClone(clonedDir, &git.CloneOptions{ _, err = git.PlainClone(clonedDir, &git.CloneOptions{
URL: "https://github.com/fputs/rosettax87", URL: "https://github.com/fputs/rosettax87",
Progress: log.Writer, Progress: os.Stdout,
RecurseSubmodules: git.DefaultSubmoduleRecursionDepth, RecurseSubmodules: git.DefaultSubmoduleRecursionDepth,
SingleBranch: true, SingleBranch: true,
}) })
@@ -488,8 +488,6 @@ func BuildRosetta() (string, string, error) {
cmd := exec.Command("cmake", "-B", "build") cmd := exec.Command("cmake", "-B", "build")
cmd.Dir = clonedDir cmd.Dir = clonedDir
cmd.Stdout = log.Writer
cmd.Stderr = log.Writer
err = cmd.Run() err = cmd.Run()
if err != nil { if err != nil {
return "", "", fmt.Errorf("failed to create build files: %v", err) 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 = exec.Command("cmake", "--build", "build")
cmd.Dir = clonedDir cmd.Dir = clonedDir
cmd.Stdout = log.Writer
cmd.Stderr = log.Writer
err = cmd.Run() err = cmd.Run()
if err != nil { if err != nil {
return "", "", fmt.Errorf("failed to build rosettax87: %v", err) return "", "", fmt.Errorf("failed to build rosettax87: %v", err)

View File

@@ -203,7 +203,8 @@ func showTroubleshootingPopup() {
// --- Build Rosettax87 Locally --- // --- Build Rosettax87 Locally ---
buildRosettaButton = widget.NewButton("Build", func() { 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) { dialog.NewConfirm("Build rosettax87", msg, func(confirm bool) {
if confirm { if confirm {
// Check for dependencies // Check for dependencies