From 91e167e25d0fe347487ca49c77e4fdecfff81723 Mon Sep 17 00:00:00 2001 From: Siddharth Saxena Date: Thu, 14 Dec 2023 20:37:12 +0530 Subject: [PATCH 1/8] Support for rootless JB till iOS 16.5 (tested) (screendumpLowFrame) --- .gitignore | 3 ++- screendumpLowFrame/Makefile | 3 ++- screendumpLowFrame/build_package_rootless.sh | 9 +++++++++ screendumpLowFrame/hooks/Makefile | 2 +- screendumpLowFrame/hooks/Tweak.xm | 4 +++- screendumpLowFrame/layout/DEBIAN/control | 2 +- screendumpLowFrame/layout/DEBIAN/postinst | 4 ++-- screendumpLowFrame/layout/DEBIAN/postrm | 5 ----- screendumpLowFrame/layout/DEBIAN/prerm | 5 +++++ .../LaunchDaemons/com.julioverne.screendumpd.plist | 2 +- screendumpLowFrame/main.mm | 6 ++++-- 11 files changed, 30 insertions(+), 15 deletions(-) create mode 100755 screendumpLowFrame/build_package_rootless.sh delete mode 100755 screendumpLowFrame/layout/DEBIAN/postrm create mode 100755 screendumpLowFrame/layout/DEBIAN/prerm diff --git a/.gitignore b/.gitignore index 996e30e..e325f6d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.theos \ No newline at end of file +.theos +packages \ No newline at end of file diff --git a/screendumpLowFrame/Makefile b/screendumpLowFrame/Makefile index d21da17..fd54955 100644 --- a/screendumpLowFrame/Makefile +++ b/screendumpLowFrame/Makefile @@ -1,7 +1,8 @@ -TARGET = iphone:14.4:10.0 +TARGET = iphone:16.5:14.0 include $(THEOS)/makefiles/common.mk +PACKAGE_BUILDNAME := rootless TOOL_NAME = screendumpd $(TOOL_NAME)_FILES = main.mm diff --git a/screendumpLowFrame/build_package_rootless.sh b/screendumpLowFrame/build_package_rootless.sh new file mode 100755 index 0000000..7754e8e --- /dev/null +++ b/screendumpLowFrame/build_package_rootless.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +echo "Building package for ROOTLESS Jailbreak" +export THEOS_PACKAGE_SCHEME=rootless + +make clean +make package FINALPACKAGE=1 + +unset THEOS_PACKAGE_SCHEME diff --git a/screendumpLowFrame/hooks/Makefile b/screendumpLowFrame/hooks/Makefile index 5834112..2924364 100644 --- a/screendumpLowFrame/hooks/Makefile +++ b/screendumpLowFrame/hooks/Makefile @@ -1,4 +1,4 @@ -TARGET = iphone:14.4:10.0 +TARGET = iphone:16.5:14.0 include $(THEOS)/makefiles/common.mk diff --git a/screendumpLowFrame/hooks/Tweak.xm b/screendumpLowFrame/hooks/Tweak.xm index 9080b32..2f1c774 100644 --- a/screendumpLowFrame/hooks/Tweak.xm +++ b/screendumpLowFrame/hooks/Tweak.xm @@ -2,10 +2,12 @@ #include #include #import +#import +#import #undef NSLog -#define kSettingsPath @"//var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist" +#define kSettingsPath @"/var/jb/var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist" extern "C" UIImage* _UICreateScreenUIImage(); diff --git a/screendumpLowFrame/layout/DEBIAN/control b/screendumpLowFrame/layout/DEBIAN/control index f85f8fe..b0f1774 100644 --- a/screendumpLowFrame/layout/DEBIAN/control +++ b/screendumpLowFrame/layout/DEBIAN/control @@ -1,6 +1,6 @@ Package: com.cosmosgenius.screendump13 Name: screendump -Depends: mobilesubstrate, preferenceloader +Depends: preferenceloader Architecture: iphoneos-arm Description: VNC for ios Maintainer: Sharat M R diff --git a/screendumpLowFrame/layout/DEBIAN/postinst b/screendumpLowFrame/layout/DEBIAN/postinst index 27a41e9..0d6bce7 100755 --- a/screendumpLowFrame/layout/DEBIAN/postinst +++ b/screendumpLowFrame/layout/DEBIAN/postinst @@ -1,6 +1,6 @@ #!/bin/bash -launchctl unload //Library/LaunchDaemons/com.julioverne.screendumpd.plist -launchctl load //Library/LaunchDaemons/com.julioverne.screendumpd.plist +launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist +launchctl load /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist exit 0; \ No newline at end of file diff --git a/screendumpLowFrame/layout/DEBIAN/postrm b/screendumpLowFrame/layout/DEBIAN/postrm deleted file mode 100755 index ab06c08..0000000 --- a/screendumpLowFrame/layout/DEBIAN/postrm +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -launchctl unload //Library/LaunchDaemons/com.julioverne.screendumpd.plist - -exit 0; \ No newline at end of file diff --git a/screendumpLowFrame/layout/DEBIAN/prerm b/screendumpLowFrame/layout/DEBIAN/prerm new file mode 100755 index 0000000..dcfcb1a --- /dev/null +++ b/screendumpLowFrame/layout/DEBIAN/prerm @@ -0,0 +1,5 @@ +#!/bin/bash + +launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist + +exit 0; \ No newline at end of file diff --git a/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.plist b/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.plist index 911f22e..64803f4 100644 --- a/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.plist +++ b/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.plist @@ -6,7 +6,7 @@ com.julioverne.screendumpd ProgramArguments - /usr/libexec/screendumpd + /var/jb/usr/libexec/screendumpd RunAtLoad diff --git a/screendumpLowFrame/main.mm b/screendumpLowFrame/main.mm index 0bb4474..9ac9d69 100644 --- a/screendumpLowFrame/main.mm +++ b/screendumpLowFrame/main.mm @@ -1,9 +1,11 @@ #include #include #include -#import +#import +#import +#import -#define kSettingsPath @"//var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist" +#define kSettingsPath @"/var/jb/var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist" static bool CCSisEnabled = true; static NSString *CCSPassword = nil; From 1d8626ae9bb832404c6c8751cbf8d9a3f2e4054a Mon Sep 17 00:00:00 2001 From: Siddharth Saxena Date: Sun, 17 Dec 2023 02:12:33 +0530 Subject: [PATCH 2/8] build script and github actions for rootful and rootless builds --- .github/workflows/ci.yaml | 64 +++++++++++++++++++ screendumpLowFrame/Makefile | 17 ++++- screendumpLowFrame/build_package_rootless.sh | 9 --- screendumpLowFrame/build_packages.sh | 11 ++++ screendumpLowFrame/hooks/Makefile | 1 + screendumpLowFrame/hooks/Tweak.xm | 2 - screendumpLowFrame/layout/DEBIAN/postinst | 9 ++- screendumpLowFrame/layout/DEBIAN/prerm | 6 +- .../com.julioverne.screendumpd.plist | 2 +- .../com.julioverne.screendumpd.rootless.plist | 16 +++++ screendumpLowFrame/main.mm | 2 - 11 files changed, 121 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/ci.yaml delete mode 100755 screendumpLowFrame/build_package_rootless.sh create mode 100755 screendumpLowFrame/build_packages.sh create mode 100644 screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.rootless.plist diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..dac9ae1 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,64 @@ +name: Theos CI + +on: + release: + types: + - created + +jobs: + build: + runs-on: macos-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + submodules: recursive + + - name: Theos Setup (Check Cache) + id: verify-cache + run: | + echo "::set-output name=heads::`git ls-remote https://github.com/roothide/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/xybp888/iOS-SDKs | head -n 1 | cut -f 1`" + + - name: Theos Setup (Use Cache) + id: cache + uses: actions/cache@v2 + with: + path: ${{ github.workspace }}/theos + key: ${{ runner.os }}-${{ steps.verify-cache.outputs.heads }} + + - name: Theos Setup (Setup) + uses: NyaMisty/theos-action@master + with: + theos-src: https://github.com/roothide/theos + theos-sdks: https://github.com/xybp888/iOS-SDKs + + - name: Get tag + if: ${{ startsWith(github.ref, 'refs/tags/') }} + id: tag + uses: dawidd6/action-get-tag@v1 + + - name: Build Release package - Rootful + if: ${{ startsWith(github.ref, 'refs/tags/') }} + run: | + cd screendumpLowFrame + make clean + TAGNAME=${{ steps.tag.outputs.tag }} + make package FINALPACKAGE=1 PACKAGE_VERSION=${TAGNAME#v}-rootful + - name: Build Release package - Rootless + if: ${{ startsWith(github.ref, 'refs/tags/') }} + run: | + cd screendumpLowFrame + make clean + TAGNAME=${{ steps.tag.outputs.tag }} + make package THEOS_PACKAGE_SCHEME=rootless FINALPACKAGE=1 PACKAGE_VERSION=${TAGNAME#v}-rootless + + - name: Release + uses: softprops/action-gh-release@v1 + if: ${{ startsWith(github.ref, 'refs/tags/') }} + with: + files: | + ${{ github.workspace }}/screendumpLowFrame/packages/*.deb + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/screendumpLowFrame/Makefile b/screendumpLowFrame/Makefile index fd54955..03a9096 100644 --- a/screendumpLowFrame/Makefile +++ b/screendumpLowFrame/Makefile @@ -2,7 +2,11 @@ TARGET = iphone:16.5:14.0 include $(THEOS)/makefiles/common.mk -PACKAGE_BUILDNAME := rootless +ifeq ($(THEOS_PACKAGE_SCHEME),rootless) + PACKAGE_BUILDNAME := rootless +else + PACKAGE_BUILDNAME := rootful +endif TOOL_NAME = screendumpd $(TOOL_NAME)_FILES = main.mm @@ -24,3 +28,14 @@ include $(THEOS_MAKE_PATH)/tool.mk SUBPROJECTS += hooks include $(THEOS_MAKE_PATH)/aggregate.mk + +ifeq ($(THEOS_PACKAGE_SCHEME),rootless) +after-screendumpd-stage:: + $(ECHO_NOTHING) rm $(THEOS_STAGING_DIR)/Library/LaunchDaemons/com.julioverne.screendumpd.plist$(ECHO_END) + $(ECHO_NOTHING) mv $(THEOS_STAGING_DIR)/Library/LaunchDaemons/com.julioverne.screendumpd.rootless.plist $(THEOS_STAGING_DIR)/Library/LaunchDaemons/com.julioverne.screendumpd.plist$(ECHO_END) + $(ECHO_NOTHING)$(FAKEROOT) chown root:wheel $(THEOS_STAGING_DIR)/Library/LaunchDaemons/com.julioverne.screendumpd.plist$(ECHO_END) +else +after-screendumpd-stage:: + $(ECHO_NOTHING) rm $(THEOS_STAGING_DIR)/Library/LaunchDaemons/com.julioverne.screendumpd.rootless.plist$(ECHO_END) + $(ECHO_NOTHING)$(FAKEROOT) chown root:wheel $(THEOS_STAGING_DIR)/Library/LaunchDaemons/com.julioverne.screendumpd.plist$(ECHO_END) +endif diff --git a/screendumpLowFrame/build_package_rootless.sh b/screendumpLowFrame/build_package_rootless.sh deleted file mode 100755 index 7754e8e..0000000 --- a/screendumpLowFrame/build_package_rootless.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -echo "Building package for ROOTLESS Jailbreak" -export THEOS_PACKAGE_SCHEME=rootless - -make clean -make package FINALPACKAGE=1 - -unset THEOS_PACKAGE_SCHEME diff --git a/screendumpLowFrame/build_packages.sh b/screendumpLowFrame/build_packages.sh new file mode 100755 index 0000000..4a99d82 --- /dev/null +++ b/screendumpLowFrame/build_packages.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +echo "Building package for ROOTFUL Jailbreak" + +make clean +make package FINALPACKAGE=1 + +echo "Building package for ROOTLESS Jailbreak" + +make clean +make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless diff --git a/screendumpLowFrame/hooks/Makefile b/screendumpLowFrame/hooks/Makefile index 2924364..9c6a8a6 100644 --- a/screendumpLowFrame/hooks/Makefile +++ b/screendumpLowFrame/hooks/Makefile @@ -2,6 +2,7 @@ TARGET = iphone:16.5:14.0 include $(THEOS)/makefiles/common.mk + TWEAK_NAME = screendumpbb $(TWEAK_NAME)_FILES = Tweak.xm $(TWEAK_NAME)_FRAMEWORKS := IOSurface IOKit diff --git a/screendumpLowFrame/hooks/Tweak.xm b/screendumpLowFrame/hooks/Tweak.xm index 2f1c774..7705452 100644 --- a/screendumpLowFrame/hooks/Tweak.xm +++ b/screendumpLowFrame/hooks/Tweak.xm @@ -7,8 +7,6 @@ #undef NSLog -#define kSettingsPath @"/var/jb/var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist" - extern "C" UIImage* _UICreateScreenUIImage(); static BOOL isEnabled; diff --git a/screendumpLowFrame/layout/DEBIAN/postinst b/screendumpLowFrame/layout/DEBIAN/postinst index 0d6bce7..4018832 100755 --- a/screendumpLowFrame/layout/DEBIAN/postinst +++ b/screendumpLowFrame/layout/DEBIAN/postinst @@ -1,6 +1,11 @@ #!/bin/bash -launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist -launchctl load /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist +if [ -L "/var/jb" ]; then + launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist + launchctl load /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist +else + launchctl unload /Library/LaunchDaemons/com.julioverne.screendumpd.plist + launchctl load /Library/LaunchDaemons/com.julioverne.screendumpd.plist +fi exit 0; \ No newline at end of file diff --git a/screendumpLowFrame/layout/DEBIAN/prerm b/screendumpLowFrame/layout/DEBIAN/prerm index dcfcb1a..0866b01 100755 --- a/screendumpLowFrame/layout/DEBIAN/prerm +++ b/screendumpLowFrame/layout/DEBIAN/prerm @@ -1,5 +1,9 @@ #!/bin/bash -launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist +if [ -L "/var/jb" ]; then + launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist +else + launchctl unload /Library/LaunchDaemons/com.julioverne.screendumpd.plist +fi exit 0; \ No newline at end of file diff --git a/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.plist b/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.plist index 64803f4..911f22e 100644 --- a/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.plist +++ b/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.plist @@ -6,7 +6,7 @@ com.julioverne.screendumpd ProgramArguments - /var/jb/usr/libexec/screendumpd + /usr/libexec/screendumpd RunAtLoad diff --git a/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.rootless.plist b/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.rootless.plist new file mode 100644 index 0000000..64803f4 --- /dev/null +++ b/screendumpLowFrame/layout/Library/LaunchDaemons/com.julioverne.screendumpd.rootless.plist @@ -0,0 +1,16 @@ + + + + + Label + com.julioverne.screendumpd + ProgramArguments + + /var/jb/usr/libexec/screendumpd + + RunAtLoad + + KeepAlive + + + diff --git a/screendumpLowFrame/main.mm b/screendumpLowFrame/main.mm index 9ac9d69..1252761 100644 --- a/screendumpLowFrame/main.mm +++ b/screendumpLowFrame/main.mm @@ -5,8 +5,6 @@ #import #import -#define kSettingsPath @"/var/jb/var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist" - static bool CCSisEnabled = true; static NSString *CCSPassword = nil; static rfbScreenInfoPtr screen; From 52b0bf55c4a4f49b8f7df35dc7b2fe749f3c09ed Mon Sep 17 00:00:00 2001 From: Siddharth Saxena Date: Sun, 17 Dec 2023 02:35:29 +0530 Subject: [PATCH 3/8] Use default theos src and sdks --- .github/workflows/ci.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dac9ae1..4cb6907 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,7 @@ jobs: - name: Theos Setup (Check Cache) id: verify-cache run: | - echo "::set-output name=heads::`git ls-remote https://github.com/roothide/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/xybp888/iOS-SDKs | head -n 1 | cut -f 1`" + echo "name=heads::`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/theos/sdks | head -n 1 | cut -f 1`" >> $GITHUB_OUTPUT - name: Theos Setup (Use Cache) id: cache @@ -30,9 +30,6 @@ jobs: - name: Theos Setup (Setup) uses: NyaMisty/theos-action@master - with: - theos-src: https://github.com/roothide/theos - theos-sdks: https://github.com/xybp888/iOS-SDKs - name: Get tag if: ${{ startsWith(github.ref, 'refs/tags/') }} From 9e0f5140e399216ce7a955de4aeac77c8f339b12 Mon Sep 17 00:00:00 2001 From: Siddharth Saxena Date: Sun, 17 Dec 2023 02:44:43 +0530 Subject: [PATCH 4/8] fix cache setup --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4cb6907..0579743 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,7 @@ jobs: - name: Theos Setup (Check Cache) id: verify-cache run: | - echo "name=heads::`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/theos/sdks | head -n 1 | cut -f 1`" >> $GITHUB_OUTPUT + echo "::set-output name=heads::`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/theos/sdks | head -n 1 | cut -f 1`" - name: Theos Setup (Use Cache) id: cache From 76f0e233fbc07939becb82eaac48b04a6d79e750 Mon Sep 17 00:00:00 2001 From: Siddharth Saxena Date: Sun, 17 Dec 2023 02:50:45 +0530 Subject: [PATCH 5/8] removed cache setup --- .github/workflows/ci.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0579743..f3a1c39 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,18 +16,6 @@ jobs: fetch-depth: 0 submodules: recursive - - name: Theos Setup (Check Cache) - id: verify-cache - run: | - echo "::set-output name=heads::`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/theos/sdks | head -n 1 | cut -f 1`" - - - name: Theos Setup (Use Cache) - id: cache - uses: actions/cache@v2 - with: - path: ${{ github.workspace }}/theos - key: ${{ runner.os }}-${{ steps.verify-cache.outputs.heads }} - - name: Theos Setup (Setup) uses: NyaMisty/theos-action@master From 0c877f81872f88ef05ed8202da5681ede6835a6b Mon Sep 17 00:00:00 2001 From: Hayden Date: Thu, 15 Jul 2021 12:21:59 -0400 Subject: [PATCH 6/8] Update postinst --- screendumpLowFrame/layout/DEBIAN/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screendumpLowFrame/layout/DEBIAN/postinst b/screendumpLowFrame/layout/DEBIAN/postinst index 4018832..50227eb 100755 --- a/screendumpLowFrame/layout/DEBIAN/postinst +++ b/screendumpLowFrame/layout/DEBIAN/postinst @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if [ -L "/var/jb" ]; then launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist @@ -8,4 +8,4 @@ else launchctl load /Library/LaunchDaemons/com.julioverne.screendumpd.plist fi -exit 0; \ No newline at end of file +exit 0; From 0f06953e8038a5700bacf4199f56d91a78752149 Mon Sep 17 00:00:00 2001 From: Hayden Date: Thu, 15 Jul 2021 12:23:00 -0400 Subject: [PATCH 7/8] Update postinst --- screendump/layout/DEBIAN/postinst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/screendump/layout/DEBIAN/postinst b/screendump/layout/DEBIAN/postinst index 27a41e9..afc870c 100755 --- a/screendump/layout/DEBIAN/postinst +++ b/screendump/layout/DEBIAN/postinst @@ -1,6 +1,6 @@ -#!/bin/bash +#!/bin/sh -launchctl unload //Library/LaunchDaemons/com.julioverne.screendumpd.plist -launchctl load //Library/LaunchDaemons/com.julioverne.screendumpd.plist +launchctl unload /Library/LaunchDaemons/com.julioverne.screendumpd.plist +launchctl load /Library/LaunchDaemons/com.julioverne.screendumpd.plist -exit 0; \ No newline at end of file +exit 0; From 71a1afac3cb7e80ccd75f532169e58160da9aa97 Mon Sep 17 00:00:00 2001 From: Hayden Date: Thu, 15 Jul 2021 12:23:25 -0400 Subject: [PATCH 8/8] Update postrm --- screendump/layout/DEBIAN/postrm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/screendump/layout/DEBIAN/postrm b/screendump/layout/DEBIAN/postrm index ab06c08..6f70c14 100755 --- a/screendump/layout/DEBIAN/postrm +++ b/screendump/layout/DEBIAN/postrm @@ -1,5 +1,5 @@ -#!/bin/bash +#!/bin/sh -launchctl unload //Library/LaunchDaemons/com.julioverne.screendumpd.plist +launchctl unload /Library/LaunchDaemons/com.julioverne.screendumpd.plist -exit 0; \ No newline at end of file +exit 0;