Skip to content

Commit

Permalink
module: Move logo location to /data/local/tmp
Browse files Browse the repository at this point in the history
* doesn't work if placed on /data/encore somehow

Signed-off-by: Rem01Gaming <[email protected]>
  • Loading branch information
Rem01Gaming committed Oct 28, 2024
1 parent 3c1907a commit 081d3b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Compile flashable zip
id: compileZip
run: |
cp -r ./website/docs/public/android-crhome.png ./module/logo.png
cp -r ./website/docs/public/android-crhome.png ./module/encore_logo.png
cp -r ./src/libs ./module
cp -r ./src/scripts/* ./module/system/bin
cp LICENSE ./module
Expand Down
2 changes: 1 addition & 1 deletion module/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ unzip -o "$ZIPFILE" "webroot/*" -d "$MODPATH" >&2
# Set configs
ui_print "- Encore Tweaks configuration setup"
[ ! -d /data/encore ] && mkdir /data/encore
unzip -o "$ZIPFILE" 'logo.png' -d "/data/encore" >&2
unzip -o "$ZIPFILE" 'encore_logo.png' -d "/data/local/tmp" >&2
unzip -o "$ZIPFILE" 'gamelist.txt' -d "/data/encore" >&2
unzip -o "$ZIPFILE" 'AppMonitoringUtil.sh' -d "/data/encore" >&2
[ ! -f /data/encore/kill_logd ] && echo 0 >/data/encore/kill_logd
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/encore-perfcommon
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
sync

# Push Notification
su -lp 2000 -c "cmd notification post -S bigtext -t 'Encore Tweaks' -i file:///data/encore/logo.png -I file:///data/encore/logo.png 'Tag$(date +%s)' 'Tweaks successfully applied'" &
su -lp 2000 -c "cmd notification post -S bigtext -t 'Encore Tweaks' -i file:///data/local/tmp/encore_logo.png -I file:///data/local/tmp/encore_logo.png 'Tag$(date +%s)' 'Tweaks successfully applied'" &

apply() {
if [ -f $2 ]; then
Expand Down

0 comments on commit 081d3b3

Please sign in to comment.