mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-22 04:28:05 +08:00
3rd attempt to fix JIRA SPE-22 (wrong file export on MAC)
This commit is contained in:
parent
e13a9adff2
commit
662ea15c23
@ -1624,12 +1624,12 @@ sub _get_export_file {
|
|||||||
}
|
}
|
||||||
elsif ($format eq 'AMF')
|
elsif ($format eq 'AMF')
|
||||||
{
|
{
|
||||||
if ($^O eq 'MacOS') {
|
if (&Wx::wxMAC) {
|
||||||
# It seems that MacOS does not like double extension
|
# It seems that MacOS does not like double extension
|
||||||
$suffix = '.amf';
|
$suffix = '.amf';
|
||||||
} else {
|
} else {
|
||||||
$suffix = '.zip.amf';
|
$suffix = '.zip.amf';
|
||||||
}
|
}
|
||||||
$wildcard = 'amf';
|
$wildcard = 'amf';
|
||||||
}
|
}
|
||||||
elsif ($format eq '3MF')
|
elsif ($format eq '3MF')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user