We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d611dd4 commit cb66f0dCopy full SHA for cb66f0d
scripts/patch-nsis-paths.pl
@@ -20,9 +20,10 @@
20
21
# Extract CI checkout root from MAINBINARYSRCPATH.
22
# The path looks like: "D:\a\mouseterm\mouseterm\standalone\src-tauri\target\...\mouseterm.exe"
23
-# We want everything before \standalone\src-tauri\
+# We want everything before \src-tauri\ (including \standalone) because
24
+# actions/upload-artifact strips the common ancestor (standalone/) from paths.
25
my $ci_root;
-if ($content =~ /MAINBINARYSRCPATH\s+"(.+?)\\standalone\\src-tauri\\/) {
26
+if ($content =~ /MAINBINARYSRCPATH\s+"(.+?)\\src-tauri\\/) {
27
$ci_root = $1;
28
} else {
29
die "Could not extract CI checkout root from MAINBINARYSRCPATH in $nsi_file\n";
0 commit comments