add many fixes based on precommit

This commit is contained in:
LDprg 2024-05-23 18:30:03 +02:00
parent 78da7e1280
commit d9a08384d9
No known key found for this signature in database
GPG Key ID: D77DF2506567EC0E
62 changed files with 1010 additions and 1015 deletions

0
apps/acrobat-x-pro/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

0
apps/adobe-cc/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 329 B

0
apps/aftereffects-cc/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 916 B

After

Width:  |  Height:  |  Size: 917 B

0
apps/audition-cc/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 329 B

0
apps/bridge-cc/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
apps/bridge-cs6-x86/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
apps/bridge-cs6/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
apps/illustrator-cc/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 681 B

After

Width:  |  Height:  |  Size: 682 B

0
apps/indesign-cc/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 811 B

After

Width:  |  Height:  |  Size: 812 B

0
apps/lightroom-cc/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 627 B

After

Width:  |  Height:  |  Size: 628 B

View File

@ -198,6 +198,3 @@ sudo systemctl restart libvirtd
sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/ sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/
``` ```
You will likely need to reboot to ensure your current shell is added to the group. You will likely need to reboot to ensure your current shell is added to the group.

View File

@ -219,4 +219,3 @@ Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\*" |
"EXES+=(""$Exe"")" "EXES+=(""$Exe"")"
"ICONS+=(""$Icon"")" "ICONS+=(""$Icon"")"
} }

View File

@ -114,17 +114,17 @@ on_keypress() {
if [[ "$key" == "[" ]]; then if [[ "$key" == "[" ]]; then
read -rsn1 key read -rsn1 key
case "$key" in case "$key" in
'A') eval $on_up;; 'A') eval $on_up ;;
'B') eval $on_down;; 'B') eval $on_down ;;
'D') eval $on_left;; 'D') eval $on_left ;;
'C') eval $on_right;; 'C') eval $on_right ;;
esac esac
fi fi
;; ;;
' ') eval $on_space ' ';; ' ') eval $on_space ' ' ;;
[a-z0-9A-Z\!\#\$\&\+\,\-\.\/\;\=\?\@\[\]\^\_\{\}\~]) eval $on_ascii $key;; [a-z0-9A-Z\!\#\$\&\+\,\-\.\/\;\=\?\@\[\]\^\_\{\}\~]) eval $on_ascii $key ;;
$'\x7f') eval $on_backspace $key;; $'\x7f') eval $on_backspace $key ;;
'') eval $on_enter $key;; '') eval $on_enter $key ;;
esac esac
if [ $_break_keypress = true ]; then if [ $_break_keypress = true ]; then
break break
@ -436,8 +436,8 @@ remove_checkbox_instructions() {
on_checkbox_input_ascii() { on_checkbox_input_ascii() {
local key=$1 local key=$1
case $key in case $key in
"j" ) on_checkbox_input_down;; "j" ) on_checkbox_input_down ;;
"k" ) on_checkbox_input_up;; "k" ) on_checkbox_input_up ;;
esac esac
} }

View File

@ -24,7 +24,7 @@ function waUsage() {
function waNoSudo() { function waNoSudo() {
echo 'You are attempting to switch from a --system install to a --user install. echo 'You are attempting to switch from a --system install to a --user install.
Please run "./installer.sh --system --uninstall" first.' Please run "./installer.sh --system --uninstall" first.'
exit exit
} }
@ -99,11 +99,11 @@ StartupWMClass=${FULL_NAME}
Comment=${FULL_NAME} Comment=${FULL_NAME}
Categories=${CATEGORIES} Categories=${CATEGORIES}
MimeType=${MIME_TYPES} MimeType=${MIME_TYPES}
" | ${SUDO} tee "${APP_PATH}/${1}.desktop" >/dev/null " | ${SUDO} tee "${APP_PATH}/${1}.desktop" >/dev/null
${SUDO} rm -f "${BIN_PATH}/${1}" ${SUDO} rm -f "${BIN_PATH}/${1}"
echo "#!/usr/bin/env bash echo "#!/usr/bin/env bash
${BIN_PATH}/winapps ${1} $@ ${BIN_PATH}/winapps ${1} $@
" | ${SUDO} tee "${BIN_PATH}/${1}" >/dev/null " | ${SUDO} tee "${BIN_PATH}/${1}" >/dev/null
${SUDO} chmod a+x "${BIN_PATH}/${1}" ${SUDO} chmod a+x "${BIN_PATH}/${1}"
fi fi
echo " Finished." echo " Finished."
@ -225,7 +225,7 @@ CATEGORIES=\"WinApps\"
# GNOME mimetypes # GNOME mimetypes
MIME_TYPES=\"\" MIME_TYPES=\"\"
" | sudo tee "${SYS_PATH}/apps/${EXE}/info" >/dev/null " | sudo tee "${SYS_PATH}/apps/${EXE}/info" >/dev/null
echo "${ICONS[$I]}" | base64 -d | sudo tee "${SYS_PATH}/apps/${EXE}/icon.ico" >/dev/null echo "${ICONS[$I]}" | base64 -d | sudo tee "${SYS_PATH}/apps/${EXE}/icon.ico" >/dev/null
waConfigureApp "${EXE}" ico waConfigureApp "${EXE}" ico
COUNT=$((COUNT + 1)) COUNT=$((COUNT + 1))
@ -255,11 +255,11 @@ Type=Application
Icon=${SYS_PATH}/icons/windows.svg Icon=${SYS_PATH}/icons/windows.svg
StartupWMClass=Microsoft Windows StartupWMClass=Microsoft Windows
Comment=Microsoft Windows Comment=Microsoft Windows
" | ${SUDO} tee "${APP_PATH}/windows.desktop" >/dev/null " | ${SUDO} tee "${APP_PATH}/windows.desktop" >/dev/null
${SUDO} rm -f "${BIN_PATH}/windows" ${SUDO} rm -f "${BIN_PATH}/windows"
echo "#!/usr/bin/env bash echo "#!/usr/bin/env bash
${BIN_PATH}/winapps windows ${BIN_PATH}/winapps windows
" | ${SUDO} tee "/${BIN_PATH}/windows" >/dev/null " | ${SUDO} tee "/${BIN_PATH}/windows" >/dev/null
${SUDO} chmod a+x "${BIN_PATH}/windows" ${SUDO} chmod a+x "${BIN_PATH}/windows"
fi fi
echo " Finished." echo " Finished."

View File

@ -208,4 +208,3 @@
<imagelabel>+385601105:+385600513</imagelabel> <imagelabel>+385601105:+385600513</imagelabel>
</seclabel> </seclabel>
</domain> </domain>