Compile first DEB
This commit is contained in:
parent
23fe10a56b
commit
92a4f192a1
25 changed files with 351 additions and 0 deletions
BIN
FlashBack.deb
Normal file
BIN
FlashBack.deb
Normal file
Binary file not shown.
BIN
FlashBack/Applications/FlashBack.app/Assets.car
Normal file
BIN
FlashBack/Applications/FlashBack.app/Assets.car
Normal file
Binary file not shown.
BIN
FlashBack/Applications/FlashBack.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
generated
Normal file
BIN
FlashBack/Applications/FlashBack.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
FlashBack/Applications/FlashBack.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
generated
Normal file
BIN
FlashBack/Applications/FlashBack.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
generated
Normal file
Binary file not shown.
BIN
FlashBack/Applications/FlashBack.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
generated
Normal file
BIN
FlashBack/Applications/FlashBack.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
FlashBack/Applications/FlashBack.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
generated
Normal file
BIN
FlashBack/Applications/FlashBack.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
generated
Normal file
Binary file not shown.
BIN
FlashBack/Applications/FlashBack.app/FlashBack
Normal file
BIN
FlashBack/Applications/FlashBack.app/FlashBack
Normal file
Binary file not shown.
BIN
FlashBack/Applications/FlashBack.app/Info.plist
Normal file
BIN
FlashBack/Applications/FlashBack.app/Info.plist
Normal file
Binary file not shown.
1
FlashBack/Applications/FlashBack.app/PkgInfo
Normal file
1
FlashBack/Applications/FlashBack.app/PkgInfo
Normal file
|
@ -0,0 +1 @@
|
|||
APPL????
|
|
@ -0,0 +1,194 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>files</key>
|
||||
<dict>
|
||||
<key>Assets.car</key>
|
||||
<data>
|
||||
dzesSxIcBrJoz8ywwcYwmqt4h30=
|
||||
</data>
|
||||
<key>Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
|
||||
<data>
|
||||
9WN8syjMQGLzhgaK9KgLuGC2SP0=
|
||||
</data>
|
||||
<key>Base.lproj/LaunchScreen.storyboardc/Info.plist</key>
|
||||
<data>
|
||||
n2t8gsDpfE6XkhG31p7IQJRxTxU=
|
||||
</data>
|
||||
<key>Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib</key>
|
||||
<data>
|
||||
SPS4zJA2wXrftixv5mSRteYPPaM=
|
||||
</data>
|
||||
<key>Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib</key>
|
||||
<data>
|
||||
x5v5c0EZQUJ1UtQMA0+f2iHtybI=
|
||||
</data>
|
||||
<key>Base.lproj/Main.storyboardc/Info.plist</key>
|
||||
<data>
|
||||
MDrKFvFWroTb0+KEbQShBcoBvo4=
|
||||
</data>
|
||||
<key>Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib</key>
|
||||
<data>
|
||||
Z0QxD7+W/scHEAgkYqoovb272Yw=
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
xZ7J2QopyHYpKHBL7LnFE4PEUPU=
|
||||
</data>
|
||||
<key>PkgInfo</key>
|
||||
<data>
|
||||
n57qDP4tZfLD1rCS43W0B4LQjzE=
|
||||
</data>
|
||||
<key>embedded.mobileprovision</key>
|
||||
<data>
|
||||
CbaHaklc7R5Bghf8trbU954ViYY=
|
||||
</data>
|
||||
</dict>
|
||||
<key>files2</key>
|
||||
<dict>
|
||||
<key>Assets.car</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
BhcIbKideV3TDy9PQ/M0hxTxjVfuXsJ/IpFY/X4Fj98=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
tqgd4KYZyk+DvqN6TtfUGcM01EL9lK6TGwwrbkANSaU=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Base.lproj/LaunchScreen.storyboardc/Info.plist</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
HyVdXMU7Ux4/KalAao30mpWOK/lEPT4gvYN09wf31cg=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
QlpQFV6Mb1TJsj1DTmr2Yf1zIE0s9uNYBYj/LwQRJgE=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
XcNFgsgD3GjNyLzIFhx3hcLY0zBQLDCpWQXy4Vj0v64=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Base.lproj/Main.storyboardc/Info.plist</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
PpvapAjR62rl6Ym4E6hkTgpKmBICxTaQXeUqcpHmmqQ=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
KS8oh16/clPtC8PWRQ2dUa+SIDIuEJltCz5MfPiPddY=
|
||||
</data>
|
||||
</dict>
|
||||
<key>embedded.mobileprovision</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
myUkwSl/hVm6sAtmp1stDlHk+pVuPGLc/Ell7P4aP9E=
|
||||
</data>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>rules</key>
|
||||
<dict>
|
||||
<key>^.*</key>
|
||||
<true/>
|
||||
<key>^.*\.lproj/</key>
|
||||
<dict>
|
||||
<key>optional</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1000</real>
|
||||
</dict>
|
||||
<key>^.*\.lproj/locversion.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1100</real>
|
||||
</dict>
|
||||
<key>^Base\.lproj/</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>1010</real>
|
||||
</dict>
|
||||
<key>^version.plist$</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>rules2</key>
|
||||
<dict>
|
||||
<key>.*\.dSYM($|/)</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>11</real>
|
||||
</dict>
|
||||
<key>^(.*/)?\.DS_Store$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>2000</real>
|
||||
</dict>
|
||||
<key>^.*</key>
|
||||
<true/>
|
||||
<key>^.*\.lproj/</key>
|
||||
<dict>
|
||||
<key>optional</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1000</real>
|
||||
</dict>
|
||||
<key>^.*\.lproj/locversion.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1100</real>
|
||||
</dict>
|
||||
<key>^Base\.lproj/</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>1010</real>
|
||||
</dict>
|
||||
<key>^Info\.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^PkgInfo$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^embedded\.provisionprofile$</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^version\.plist$</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
BIN
FlashBack/Applications/FlashBack.app/embedded.mobileprovision
Normal file
BIN
FlashBack/Applications/FlashBack.app/embedded.mobileprovision
Normal file
Binary file not shown.
25
FlashBack/Applications/FlashBack.app/enti.xml
Normal file
25
FlashBack/Applications/FlashBack.app/enti.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>platform-application</key>
|
||||
<true/>
|
||||
<key>com.apple.private.security.no-container</key>
|
||||
<true/>
|
||||
<key>com.apple.private.security.container-required</key>
|
||||
<false/>
|
||||
<key>dynamic-codesigning</key>
|
||||
<true/>
|
||||
<key>application-identifier</key>
|
||||
<string>PRBH2T6668.com.mpg13.FlashBack</string>
|
||||
<key>com.apple.developer.team-identifier</key>
|
||||
<string>PRBH2T6668</string>
|
||||
<key>get-task-allow</key>
|
||||
<true/>
|
||||
<key>keychain-access-groups</key>
|
||||
<array>
|
||||
<string>PRBH2T6668.com.mpg13.FlashBack</string>
|
||||
</array>
|
||||
|
||||
</dict>
|
||||
</plist>
|
9
FlashBack/DEBIAN/control
Normal file
9
FlashBack/DEBIAN/control
Normal file
|
@ -0,0 +1,9 @@
|
|||
Package: com.mpg13.FlashBack
|
||||
Name: FlashBack
|
||||
Depends: mobilesubstrate, com.chpwn.iconsupport, com.creaturecoding.crux
|
||||
Version: 3.0-beta1
|
||||
Architecture: iphoneos-arm
|
||||
Description: Changing the way we do setups.
|
||||
Maintainer: MPG13 <mpg13@micahpgomez.dev>
|
||||
Author: MPG13 <mpg13@micahpgomez.dev>
|
||||
Section: Tweaks
|
5
FlashBack/usr/bin/FBCreate
Normal file
5
FlashBack/usr/bin/FBCreate
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
crux _FlashBackCreate $1
|
||||
|
||||
exit 0
|
5
FlashBack/usr/bin/FBDelete
Normal file
5
FlashBack/usr/bin/FBDelete
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
crux _FlashBackDelete $1
|
||||
|
||||
exit 0
|
5
FlashBack/usr/bin/FBPackage
Normal file
5
FlashBack/usr/bin/FBPackage
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
crux _FlashBackPackage $1
|
||||
|
||||
exit 0
|
5
FlashBack/usr/bin/FBRestore
Normal file
5
FlashBack/usr/bin/FBRestore
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
crux _FlashBackRestore $1
|
||||
|
||||
exit 0
|
5
FlashBack/usr/bin/FBUnpackage
Normal file
5
FlashBack/usr/bin/FBUnpackage
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
crux _FlashBackUnpackage
|
||||
|
||||
exit 0
|
29
FlashBack/usr/bin/_FlashBackCreate
Normal file
29
FlashBack/usr/bin/_FlashBackCreate
Normal file
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
shopt -s extglob # "Shell option set extglob" https://www.linuxjournal.com/content/bash-extended-globbing
|
||||
|
||||
set -f # "Disable file name generation (globbing)."
|
||||
|
||||
BACKUPNAME=$1
|
||||
|
||||
set +f
|
||||
FLASHBACKDIR="/Library/FlashBack"
|
||||
BKPVERSION="v3"
|
||||
BACKUPLOCATION=$FLASHBACKDIR/Backups/$BACKUPNAME
|
||||
mkdir -p $BACKUPLOCATION
|
||||
mkdir -p $BACKUPLOCATION/{Preferences,SBFolder,AutoWall} || STATUS="mkdir failed"
|
||||
echo -e "\n\e[0;100m[!]\e[0m \e[104mCopying to $BACKUPLOCATION\e[0m"
|
||||
|
||||
cp -rf "/var/mobile/Library/Preferences/"!(com.apple*|com.saurik*|ckkeyrolld|nfcd|UITextInputContextIdentifiers|.GlobalPreferences).plist $BACKUPLOCATION/Preferences/ || STATUS="cp failed" #copy all non-apple Plists to Preference folder within backup haha
|
||||
cp -rf "/var/mobile/Library/Preferences/"*(*.jpg|*.png|*.gif) $BACKUPLOCATION/Preferences/ &>/dev/null #copy all images to Preference folder within backup
|
||||
cp -rf /var/mobile/Library/SpringBoard/@(*Icon*|*Background*|SB*) $BACKUPLOCATION/SBFolder/ || STATUS="cp failed" #copy IconState Plist to SBFolder folder within backup
|
||||
if [[ -d /var/mobile/Media/AutoWall/ ]]
|
||||
then
|
||||
cp -rf "/var/mobile/Media/AutoWall/"* "$BACKUPLOCATION/AutoWall/"
|
||||
fi
|
||||
touch $BACKUPLOCATION/$BKPVERSION
|
||||
|
||||
echo -e "\n\e[104m Success! \e[0m \n"
|
||||
|
||||
exit 0
|
18
FlashBack/usr/bin/_FlashBackDelete
Normal file
18
FlashBack/usr/bin/_FlashBackDelete
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
shopt -s extglob # "Shell option set extglob" https://www.linuxjournal.com/content/bash-extended-globbing
|
||||
|
||||
set -f # "Disable file name generation (globbing)."
|
||||
|
||||
DELETEBACKUP=$1
|
||||
|
||||
set +f
|
||||
FLASHBACKDIR="/Library/FlashBack"
|
||||
DELETELOCATION=$FLASHBACKDIR/Backups/$DELETEBACKUP
|
||||
|
||||
# COPY BACKUP TO SYSTEM
|
||||
|
||||
rm -r $DELETELOCATION
|
||||
|
||||
exit 0
|
12
FlashBack/usr/bin/_FlashBackPackage
Normal file
12
FlashBack/usr/bin/_FlashBackPackage
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
shopt -s extglob # "Shell option set extglob" https://www.linuxjournal.com/content/bash-extended-globbing
|
||||
|
||||
set -f # "Disable file name generation (globbing)."
|
||||
|
||||
PACKAGEBACKUP=$1
|
||||
cd /Library/FlashBack/Backups
|
||||
zip -r /User/Documents/FlashBack/GeneratedPackages/$PACKAGEBACKUP.zip ./$PACKAGEBACKUP
|
||||
|
||||
exit 0
|
29
FlashBack/usr/bin/_FlashBackRestore
Normal file
29
FlashBack/usr/bin/_FlashBackRestore
Normal file
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
shopt -s extglob # "Shell option set extglob" https://www.linuxjournal.com/content/bash-extended-globbing
|
||||
|
||||
set -f # "Disable file name generation (globbing)."
|
||||
|
||||
SELECTBACKUP=$1
|
||||
|
||||
set +f
|
||||
FLASHBACKDIR="/Library/FlashBack"
|
||||
SELECTLOCATION=$FLASHBACKDIR/Backups/$SELECTBACKUP
|
||||
|
||||
# COPY BACKUP TO SYSTEM
|
||||
|
||||
cp -r $SELECTLOCATION/Preferences/* /var/mobile/Library/Preferences/ || STATUS="cp failed"
|
||||
cp -r $SELECTLOCATION/SBFolder/* /var/mobile/Library/SpringBoard/ || STATUS="cp failed"
|
||||
if [[ -d $SELECTLOCATION/AutoWall/ ]]
|
||||
then
|
||||
cp -rf "$SELECTLOCATION/AutoWall/"* "/var/mobile/Media/AutoWall/" &>/dev/null
|
||||
fi
|
||||
|
||||
# clear caches and respring
|
||||
uicache
|
||||
recache --no respring &>/dev/null
|
||||
killall cfprefsd #Clear settings caches - thanks to Grant/NewD
|
||||
killall -9 SpringBoard && exit 0 # Kill the script.
|
||||
|
||||
exit 0
|
9
FlashBack/usr/bin/_FlashBackUnpackage
Normal file
9
FlashBack/usr/bin/_FlashBackUnpackage
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /User/Documents/FlashBack/Unpackage/
|
||||
unzip "*.zip"
|
||||
rm *.zip
|
||||
cp -r /User/Documents/FlashBack/Unpackage/* /Library/FlashBack/Backups/
|
||||
rm -r *
|
||||
|
||||
exit 0
|
Reference in a new issue