summaryrefslogtreecommitdiff
path: root/platform/javascript
diff options
context:
space:
mode:
authorDana Olson <dana@shineuponthee.com>2014-08-25 15:13:30 -0400
committerDana Olson <dana@shineuponthee.com>2014-08-25 15:13:30 -0400
commitf6c81bbd7bfa3d0c30dd2d0193db5b7b95678087 (patch)
tree5ce3acd458ef3bf2ff696ab20f023346ed6cc722 /platform/javascript
parent89fa70706f9166765c3ac3f799225a467800f065 (diff)
fix custom export packages for PC
also allow custom templates to reside outside of res:// for all platforms
Diffstat (limited to 'platform/javascript')
-rw-r--r--platform/javascript/export/export.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/javascript/export/export.cpp b/platform/javascript/export/export.cpp
index 928d128799..8924f38de0 100644
--- a/platform/javascript/export/export.cpp
+++ b/platform/javascript/export/export.cpp
@@ -126,8 +126,8 @@ bool EditorExportPlatformJavaScript::_get(const StringName& p_name,Variant &r_re
}
void EditorExportPlatformJavaScript::_get_property_list( List<PropertyInfo> *p_list) const{
- p_list->push_back( PropertyInfo( Variant::STRING, "custom_package/debug", PROPERTY_HINT_FILE,"zip"));
- p_list->push_back( PropertyInfo( Variant::STRING, "custom_package/release", PROPERTY_HINT_FILE,"zip"));
+ p_list->push_back( PropertyInfo( Variant::STRING, "custom_package/debug", PROPERTY_HINT_GLOBAL_FILE,"zip"));
+ p_list->push_back( PropertyInfo( Variant::STRING, "custom_package/release", PROPERTY_HINT_GLOBAL_FILE,"zip"));
p_list->push_back( PropertyInfo( Variant::INT, "options/memory_size",PROPERTY_HINT_ENUM,"32mb,64mb,128mb,256mb,512mb,1024mb"));
p_list->push_back( PropertyInfo( Variant::BOOL, "browser/enable_run"));