diff options
author | badcast | 2022-12-05 00:19:48 +0600 |
---|---|---|
committer | badcast | 2022-12-05 00:33:09 +0600 |
commit | bfcc6de9d6cb137a589410bf2da0eea694a7933d (patch) | |
tree | 725563a7675720993c72b2dea4dd43b0092aa071 /PKGBUILD | |
parent | 61080f4750648184cd58295875aa4a6418f07d88 (diff) | |
download | aur-bfcc6de9d6cb137a589410bf2da0eea694a7933d.tar.gz |
Windows Path converter added (winepath)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -18,7 +18,12 @@ build(){ echo "Append aimp (shell):/usr/bin/aimp" #save patch echo "#!/usr/bin/sh -/usr/bin/wine '/opt/aimp/AIMP/AIMP.exe' \"\$@\"" > aimp +#Convert Linux paths to Windows paths. +#Example: +#GNU LINUX | WINDOWS OS +# \$HOME = %USERPROFILE%\\ (etc). +_paths=\$(winepath --windows \"\$@\") +/usr/bin/wine start /unix '/opt/aimp/AIMP/AIMP.exe' \${_paths}" > aimp } package(){ |