diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-30 08:04:27 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-30 08:04:27 +0900 |
| commit | 276ec4e7d06659f0048ffa26eddefebceee928b2 (patch) | |
| tree | a44c59c5c55f9eaebb64affc7006549cb85460cd /kakaotalk | |
| parent | 7dbae478a10547d67c83fbc4756d266404086a9e (diff) | |
Diffstat (limited to 'kakaotalk')
| -rwxr-xr-x | kakaotalk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -74,6 +74,14 @@ function _install_wine() { # fi fi fi + + # Set default system pref and user pref + systempath="$WINEPREFIX/drive_c/users/si/AppData/Local/Kakao/KakaoTalk" + userdir=$(find "$systempath/users" -mindepth 1 -maxdepth 1 -type d | head -n 1) + cp pref.ini "$systempath/" + [ -n "$userdir" ] && + cp user_pref.ini "$userdir/" && + printf "download_path = Z:\\home\\%s\\Downloads\n" "$USER" >>"$userdir/user_pref.ini" } ########################################################### |
