mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 07:22:03 +08:00
Change the logic used for enabling version checks so that it's compatible with the new packaging method
This commit is contained in:
parent
a1c7b65741
commit
33059e18d7
@ -297,7 +297,7 @@ sub have_version_check {
|
||||
my ($self) = @_;
|
||||
|
||||
# return an explicit 0
|
||||
return ($Slic3r::have_threads && $Slic3r::build && $have_LWP) || 0;
|
||||
return ($Slic3r::have_threads && $Slic3r::VERSION !~ /-dev$/ && $have_LWP) || 0;
|
||||
}
|
||||
|
||||
sub check_version {
|
||||
|
Loading…
x
Reference in New Issue
Block a user