From b6670a7e3d8f5319810a99766296269ee458d73f Mon Sep 17 00:00:00 2001 From: syeopite Date: Sun, 12 Sep 2021 00:09:26 -0700 Subject: [PATCH] Fix minified silvermine-...quality* fetching --- scripts/fetch-player-dependencies.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fetch-player-dependencies.cr b/scripts/fetch-player-dependencies.cr index 2af8cd09..c24b6e0f 100644 --- a/scripts/fetch-player-dependencies.cr +++ b/scripts/fetch-player-dependencies.cr @@ -117,7 +117,7 @@ dependencies_to_install.each do |dep| end # Would use File.rename but for some reason it just doesn't work here. - if minified && File.exists?("#{download_path}/package/dist/#{dep}.min.js") + if minified && File.exists?("#{download_path}/package/dist/#{js_path}#{dep}.min.js") `mv #{download_path}/package/dist/#{js_path}#{dep}.min.js #{dest_path}/#{dep}.js` else `mv #{download_path}/package/dist/#{js_path}#{dep}.js #{dest_path}/#{dep}.js`