mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #63312 from bruvzg/one_click
[Export] Add one-click deploy over SSH for the desktop exports.
This commit is contained in:
commit
3dffe0b967
43 changed files with 1391 additions and 186 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue