mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:39:04 +08:00
Format .gcode.gz files too
Contributes to CL-1152
This commit is contained in:
parent
32f2b7ec1f
commit
028d993bab
@ -96,7 +96,7 @@ UM.Dialog
|
||||
}
|
||||
// Utils
|
||||
function formatPrintJobName(name) {
|
||||
var extensions = [ ".gz", ".gcode", ".ufp" ];
|
||||
var extensions = [ ".gz", ".gcode", ".gcode.gz", ".ufp" ];
|
||||
for (var i = 0; i < extensions.length; i++) {
|
||||
var extension = extensions[i];
|
||||
if (name.slice(-extension.length) === extension) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user