1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

[Export] Add one-click deploy over SSH for the desktop exports.

Add one-click deploy over SSH for the desktop exports.
Add ZIP export option for Linux and Windows.
Change export plugin icons to SVG format.
This commit is contained in:
bruvzg
2022-05-08 10:46:53 +03:00
parent a754930918
commit cebefc9f5d
43 changed files with 1391 additions and 186 deletions

View File

@@ -30,8 +30,14 @@
#include "export_plugin.h"
#include "editor/editor_scale.h"
#include "editor/editor_settings.h"
#include "platform/uwp/logo.gen.h"
#include "platform/uwp/logo_svg.gen.h"
#include "modules/modules_enabled.gen.h" // For svg and regex.
#ifdef MODULE_SVG_ENABLED
#include "modules/svg/image_loader_svg.h"
#endif
String EditorExportPlatformUWP::get_name() const {
return "UWP";
@@ -504,5 +510,13 @@ void EditorExportPlatformUWP::resolve_platform_feature_priorities(const Ref<Edit
}
EditorExportPlatformUWP::EditorExportPlatformUWP() {
logo = ImageTexture::create_from_image(memnew(Image(_uwp_logo)));
#ifdef MODULE_SVG_ENABLED
Ref<Image> img = memnew(Image);
const bool upsample = !Math::is_equal_approx(Math::round(EDSCALE), EDSCALE);
ImageLoaderSVG img_loader;
img_loader.create_image_from_string(img, _uwp_logo_svg, EDSCALE, upsample, false);
logo = ImageTexture::create_from_image(img);
#endif
}