Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing path to AppImageKit #1686

Merged
merged 1 commit into from
Jun 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions installer/build-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def parse_version_info(version_path):

# Create AppRun file
app_run_path = os.path.join(app_dir_path, "AppRun")
shutil.copyfile("/home/jonathan/apps/AppImageKit/AppRun", app_run_path)
shutil.copyfile("/home/ubuntu/apps/AppImageKit/AppRun", app_run_path)

# Create .desktop file
with open(os.path.join(app_dir_path, "openshot-qt.desktop"), "w") as f:
Expand All @@ -335,7 +335,7 @@ def parse_version_info(version_path):
launcher_path = os.path.join(app_dir_path, "usr", "bin", "openshot-qt")
os.rename(os.path.join(app_dir_path, "usr", "bin", "launch-linux.sh"), launcher_path)
desktop_wrapper = os.path.join(app_dir_path, "usr", "bin", "openshot-qt.wrapper")
shutil.copyfile("/home/jonathan/apps/AppImageKit/desktopintegration", desktop_wrapper)
shutil.copyfile("/home/ubuntu/apps/AppImageKit/desktopintegration", desktop_wrapper)

# Change permission of AppRun (and desktop.wrapper) file (add execute permission)
st = os.stat(app_run_path)
Expand All @@ -345,7 +345,7 @@ def parse_version_info(version_path):

# Create AppImage (OpenShot-%s-x86_64.AppImage)
app_image_success = False
for line in run_command('/home/jonathan/apps/AppImageKit/AppImageAssistant "%s" "%s"' % (app_dir_path, app_build_path)):
for line in run_command('/home/ubuntu/apps/AppImageKit/AppImageAssistant "%s" "%s"' % (app_dir_path, app_build_path)):
output(line)
if "completed sucessfully".encode("UTF-8") in line:
app_image_success = True
Expand Down