调整目录

This commit is contained in:
2024-01-29 14:02:28 +08:00
parent e0717e4fc5
commit 8351dc2838
73 changed files with 571 additions and 21 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/bash
#change current dir to excute path
path=$(dirname "$path")
cd "$path"
pwd
#Set default mime type
if [ -n "$MIME_TYPE" ]; then
xdg-mime default "$DEB_PACKAGE_NAME".desktop "$MIME_TYPE"
fi
debug_log_to_file "Starting process $* ..."
if [ -n "$2" ];then
env WINEPREFIX="$WINEPREFIX" $WINE_CMD "$1" "--url=$2" &
else
env WINEPREFIX="$WINEPREFIX" $WINE_CMD "$1" &
fi