Advertisement
Guest User

oneshot linux patcher

a guest
Apr 21st, 2022
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.49 KB | None | 0 0
  1. all: OneShot-patched.AppImage
  2.  
  3. squashfs-root/AppRun: OneShot.AppImage Makefile
  4.     rm -rf squashfs-root
  5.     ./OneShot.AppImage --appimage-extract
  6.     sed -i '13i export LD_PRELOAD=libgmodule-2.0.so' ./squashfs-root/AppRun
  7.  
  8. appimagetool:
  9.     curl -L https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage > ./appimagetool
  10.     chmod +x ./appimagetool
  11.  
  12. OneShot-patched.AppImage: squashfs-root/AppRun appimagetool
  13.     ARCH=$(shell uname -m) ./appimagetool squashfs-root $@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement