summarylogtreecommitdiffstats
path: root/no-lock.patch
diff options
context:
space:
mode:
authorThe one with the braid2024-03-24 23:01:51 +0100
committerThe one with the braid2024-03-24 23:01:51 +0100
commit7216ed6b51d0746620796673871dddad7b704bb2 (patch)
treea57f113593f9b487f15c1e4b077d643b81d9905f /no-lock.patch
parent2942f591ec73f3a8c132cd77a1331507dc581475 (diff)
downloadaur-7216ed6b51d0746620796673871dddad7b704bb2.tar.gz
refactor: complete package rewrite
Signed-off-by: The one with the braid <info@braid.business>
Diffstat (limited to 'no-lock.patch')
-rw-r--r--no-lock.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/no-lock.patch b/no-lock.patch
new file mode 100644
index 000000000000..3a82ef894fac
--- /dev/null
+++ b/no-lock.patch
@@ -0,0 +1,19 @@
+--- a/packages/flutter_tools/lib/src/cache.dart
++++ b/packages/flutter_tools/lib/src/cache.dart
+@@ -280,7 +280,7 @@
+ bool useUnsignedMacBinaries = false;
+
+ static RandomAccessFile? _lock;
+- static bool _lockEnabled = true;
++ static bool _lockEnabled = false;
+
+ /// Turn off the [lock]/[releaseLock] mechanism.
+ ///
+@@ -634,7 +634,6 @@
+ }
+
+ void setStampFor(String artifactName, String version) {
+- getStampFileFor(artifactName).writeAsStringSync(version);
+ }
+
+ File getStampFileFor(String artifactName) {