-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit 437caeb
authored
Open Save as... dialog when saving sketches for the first time (#579)
* Properly recognize temporary sketches in macOS
Without this fix, sketches report their URI path as /private/var/xxx
whereas `os.tmpdir()` returns /var/xxx. The second path can be turned
into the first by resolving symlinks, which gives a canonical path to
compare against.
* Open Save as... dialog when saving sketches for the first time1 parent 3b04d8d commit 437caeb
File tree
2 files changed
+18
-1
lines changed- arduino-ide-extension/src
- browser/contributions
- node
2 files changed
+18
-1
lines changedLines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | + | ||
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
| |||
51 | 52 |
| |
52 | 53 |
| |
53 | 54 |
| |
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
54 | 71 |
| |
55 | 72 |
| |
56 | 73 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
387 | 387 |
| |
388 | 388 |
| |
389 | 389 |
| |
390 | - | ||
390 | + | ||
391 | 391 |
| |
392 | 392 |
| |
393 | 393 |
| |
|
0 commit comments