2014-02-10 01:10:30 +00:00
|
|
|
#include "export.h"
|
|
|
|
#include "platform/windows/logo.h"
|
2016-02-04 23:03:03 +00:00
|
|
|
#include "tools/editor/editor_import_export.h"
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
void register_windows_exporter() {
|
|
|
|
|
|
|
|
Image img(_windows_logo);
|
|
|
|
Ref<ImageTexture> logo = memnew( ImageTexture );
|
|
|
|
logo->create_from_image(img);
|
|
|
|
|
|
|
|
{
|
2016-02-04 23:03:03 +00:00
|
|
|
Ref<EditorExportPlatformPC> exporter = Ref<EditorExportPlatformPC>( memnew(EditorExportPlatformPC) );
|
2014-02-10 01:10:30 +00:00
|
|
|
exporter->set_binary_extension("exe");
|
|
|
|
exporter->set_release_binary32("windows_32_release.exe");
|
|
|
|
exporter->set_debug_binary32("windows_32_debug.exe");
|
|
|
|
exporter->set_release_binary64("windows_64_release.exe");
|
|
|
|
exporter->set_debug_binary64("windows_64_debug.exe");
|
|
|
|
exporter->set_name("Windows Desktop");
|
|
|
|
exporter->set_logo(logo);
|
|
|
|
EditorImportExport::get_singleton()->add_export_platform(exporter);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|