Skip to content

Commit

Permalink
Fix gkmedias.dll path, move out of xulrunner to app root directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
noomz committed Apr 5, 2012
1 parent e52d365 commit 137db06
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions impl/appifier/_win32.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ def output_app_shell(self, browser_code_dir, dev_mode, verbose=True):
final_binary_path = os.path.join(output_dir, app_info.name + ".exe")
shutil.copy(xulrunner_stub_path, final_binary_path)

# and move the mozcrt19.dll file into place (next to the binary that
# requires it)
dllsrc = os.path.join(output_dir, "xulrunner", "mozcrt19.dll")
# With XULRunner 11.0 you may need to copy "gkmedias.dll" from the
# xulrunner directory to the root directory
# See https://developer.mozilla.org/en/XULRunner/Deploying_XULRunner_1.8
dllsrc = os.path.join(output_dir, "xulrunner", "gkmedias.dll")
shutil.move(dllsrc, output_dir)

return { "xulrunner_app_dir": output_dir, "output_dir": output_dir }

0 comments on commit 137db06

Please sign in to comment.