add width and height meta params
This commit is contained in:
@@ -38,7 +38,9 @@ class Config {
|
||||
version: null,
|
||||
pack: null,
|
||||
author: null,
|
||||
company: null
|
||||
company: null,
|
||||
width: 800,
|
||||
height: 600,
|
||||
};
|
||||
if (params) {
|
||||
this.update(params);
|
||||
@@ -78,4 +80,4 @@ module.exports = {
|
||||
BuildSystem: BuildSystem,
|
||||
Platform: Platform,
|
||||
Config: Config,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gulp-haxetool",
|
||||
"version": "0.0.14",
|
||||
"version": "0.0.15",
|
||||
"description": "HaXe Tool for Gulp",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
<haxeflag name="-D" value="<%=item%>"/><% }); %>
|
||||
|
||||
<window fps="30"/>
|
||||
<window width="1024" height="768" unless="html5"/>
|
||||
<window width="<%=meta.width%>" height="<%=meta.height%>" unless="html5"/>
|
||||
|
||||
<haxeflag name="-D" value="swf-gpu"/>
|
||||
<haxeflag name="-D" value="native-trace"/>
|
||||
<haxeflag name="-dce" value="no"/>
|
||||
</project>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user