Commit 6a568b97 authored by Timo Tegtmeier's avatar Timo Tegtmeier

Cleaned source tree by moving some files around

parent daebcdeb
......@@ -10,11 +10,10 @@
<!-- Create a Firefox OS package -->
<target name="Firefox OS" depends="build">
<copy file="${src.dir}/manifest.webapp" todir="${deploy.dir}/src" />
<copy file="${src.dir}/targets/firefoxos/manifest.webapp" todir="${deploy.dir}/src" />
<copy todir="${deploy.dir}/src">
<fileset dir="${src.dir}" includes="icon*.png" />
<fileset dir="${src.dir}/icons" includes="icon60.png icon90.png icon256.png" />
</copy>
<replace file="${deploy.dir}/src/manifest.webapp" token="$VERSION$" value="${version}" />
<copy todir="${debug.dir}">
......@@ -27,6 +26,7 @@
<antcall target="finish" />
</target>
<!-- Create an Android APK -->
<target name="Android" depends="build">
</target>
......@@ -36,6 +36,7 @@
<exec executable="node" dir="${src.dir}">
<arg value="enyo/tools/deploy.js" />
</exec>
<delete file="${deploy.dir}/src/icon.png" />
<replace file="${deploy.dir}/src/build/app.js" token="$VERSION$" value="${version}" />
<replace file="${deploy.dir}/src/build/app.js" token="$VERSIONINT$" value="${version.int}" />
<replace file="${src.dir}/build/app.js" token="$VERSION$" value="${version}" />
......
......@@ -37,7 +37,7 @@ enyo.kind({
var request = navigator.mozApps.getSelf();
request.onsuccess = function() {
var app = request.result;
var iconPath = app.installOrigin + "/icon.png";
var iconPath = app.installOrigin + "/icon60.png";
self.current = navigator.mozNotification.createNotification(
enyo.application.appName, body, iconPath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment