mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 12:47:50 -06:00
2nd attempt to fix JIRA SPE-22 (wrong file export on MAC)
This commit is contained in:
parent
eeada56c1f
commit
e13a9adff2
1 changed files with 5 additions and 0 deletions
|
@ -1624,7 +1624,12 @@ sub _get_export_file {
|
||||||
}
|
}
|
||||||
elsif ($format eq 'AMF')
|
elsif ($format eq 'AMF')
|
||||||
{
|
{
|
||||||
|
if ($^O eq 'MacOS') {
|
||||||
|
# It seems that MacOS does not like double extension
|
||||||
|
$suffix = '.amf';
|
||||||
|
} else {
|
||||||
$suffix = '.zip.amf';
|
$suffix = '.zip.amf';
|
||||||
|
}
|
||||||
$wildcard = 'amf';
|
$wildcard = 'amf';
|
||||||
}
|
}
|
||||||
elsif ($format eq '3MF')
|
elsif ($format eq '3MF')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue