Skip to content

Commit

Permalink
Fixed linux version run-xulapp.sh will not launch xulapp bugs.
Browse files Browse the repository at this point in the history
Signed-off-by: Rack Lin <racklin@gmail.com>
  • Loading branch information
racklin committed Nov 28, 2014
1 parent 0146f64 commit f222598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -341,15 +341,15 @@ if [ $BUILD_LINUX == 1 ]; then
# Merge xulrunner and relevant assets
cp -R "$BUILDDIR/"* "$APPDIR"
cp -r "$RUNTIME_PATH" "$APPDIR/xulrunner"
mv "$APPDIR/xulrunner/xulrunner-stub" "$APPDIR/$MODULE"
chmod 755 "$APPDIR/$MODULE"
mv "$APPDIR/xulrunner/xulrunner-stub" "$APPDIR/$MODULE-bin"
chmod 755 "$APPDIR/$MODULE-bin"

# Delete extraneous files
find "$APPDIR" -depth -type d -name .git -exec rm -rf {} \;
find "$APPDIR" \( -name .DS_Store -or -name update.rdf \) -exec rm -f {} \;

# Add run-$MODULE.sh
cp "$CALLDIR/linux/run-$MODULE.sh" "$APPDIR/run-$MODULE.sh"
cp "$CALLDIR/linux/run-$MODULE.sh" "$APPDIR/$MODULE"

# Move icons, so that updater.png doesn't fail
mv "$APPDIR/xulrunner/icons" "$APPDIR/icons"
Expand Down

0 comments on commit f222598

Please sign in to comment.