This commit is contained in:
2025-11-23 23:31:18 +08:00
parent d60cdc52fd
commit 9f7667a475
710 changed files with 252869 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

View File

@@ -0,0 +1,41 @@
#!/bin/bash
# Author : Miguel Gao
# Email : mgpickerstudio@gmail.com
# Website: http://twincodes.com
function makeMGPickerDesktopFile()
{
exe="$currentDir/$realExecutableSuffix"
file="$currentDir/MG-Picker.desktop"
echo "[Desktop Entry]" > $file
echo "Encoding=UTF-8" >> $file
echo "Version=2.0.0" >> $file
echo "Type=Application" >> $file
echo "Terminal=false" >> $file
echo "Name=MG-Picker" >> $file
echo "Exec=$exe" >> $file
echo "Icon=$currentDir/$programFolder/Icons/mgpicker2icon_256x256.png" >> $file
echo "Comment=Powerful and intuitive picker designer." >> $file
chmod +x $file
chmod +x $exe
}
programFolder='MG-PickerStudio/MGPicker_Program'
realExecutableSuffix="$programFolder/Bin/MG-PickerStudio"
currentDir=$(pwd)
if ! [ -f "$currentDir/$realExecutableSuffix" ]
then
currentDir=$(dirname "$0")
fi
echo "Making MG-PickerStudio launcher in dir $currentDir"
if [ -f "$currentDir/$realExecutableSuffix" ]
then
makeMGPickerDesktopFile
echo "Success: Now please double-click on the launcher 'MG-Picker' to launch MG-Picker Studio."
else
echo "Error making launcher: The executable file $currentDir/$realExecutableSuffix does not exist."
fi
# ----------------------------------------------------------