Skip to content

Commit 47ca2c9

Browse files
authored
Switch to go-flutter-desktop engine builds, update snapshot generation (#227)
The --no-causal-async-stacks option is no longer present.
1 parent a299048 commit 47ca2c9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

cmd/build.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,6 @@ func buildFlutterBundle(targetOS string) {
534534
}
535535
generateAotSnapshotCommand := []string{
536536
darwinhacks.RewriteDarlingPath(useDarling, genSnapshot),
537-
"--no-causal-async-stacks",
538537
"--lazy-async-stacks",
539538
"--deterministic",
540539
"--snapshot_kind=app-aot-elf",

internal/enginecache/cache.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,14 @@ func ValidateOrUpdateEngine(targetOS, cachePath, requiredEngineVersion string, m
309309
file += "windows"
310310
}
311311
file += fmt.Sprintf("_x64-host_%s.zip", mode.Name)
312-
engineDownloadURL := fmt.Sprintf("https://github.com/flutter-rs/engine-builds/releases/download/f-%s/%s", requiredEngineVersion, file)
312+
engineDownloadURL := fmt.Sprintf("https://github.com/go-flutter-desktop/engine-builds/releases/download/f-%s/%s", requiredEngineVersion, file)
313313

314314
err = downloadFile(engineZipPath, engineDownloadURL)
315315
if err != nil {
316316
log.Errorf("Failed to download engine: %v", err)
317317
log.Errorf("Engine builds are a bit delayed after they are published in flutter.")
318318
log.Errorf("You can either try again later or switch the flutter channel to beta, because these engines are more likely to be already built.")
319-
log.Errorf("To dig into the already built engines look at https://github.com/flutter-rs/engine-builds/releases and https://github.com/flutter-rs/engine-builds/actions")
319+
log.Errorf("To dig into the already built engines look at https://github.com/go-flutter-desktop/engine-builds/releases and https://github.com/go-flutter-desktop/engine-builds/actions")
320320
os.Exit(1)
321321
}
322322
_, err = unzip(engineZipPath, engineExtractPath)

0 commit comments

Comments
 (0)