This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dadoum
committed
Dec 30, 2019
1 parent
17515da
commit b84972a
Showing
9 changed files
with
124 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
rm -rf ./AppDir | ||
rm appimagetool-x86_64.AppImage | ||
dotnet publish --configuration Debug -r linux-x64 --self-contained true | ||
|
||
mkdir -p ./AppDir/usr/bin | ||
cp -r ./bin/Debug/netcoreapp3.0/linux-x64/* ./AppDir/usr/bin/ | ||
touch ./AppDir/AppRun | ||
echo "#!/bin/sh" >> ./AppDir/AppRun | ||
echo "HERE=\"\$(dirname \"\$(readlink -f \"\${0}\")\")\"" >> ./AppDir/AppRun | ||
echo "export PATH=\"\${HERE}\"/usr/bin/:\"\${PATH}\"" >> ./AppDir/AppRun | ||
echo "EXEC=\$(grep -e '^Exec=.*' \"\${HERE}\"/*.desktop | head -n 1 | cut -d \"=\" -f 2 | cut -d \" \" -f 1)" >> ./AppDir/AppRun | ||
echo "exec \"\${EXEC}\" \$@" >> ./AppDir/AppRun | ||
chmod 755 ./AppDir/AppRun | ||
chmod +x ./AppDir/AppRun | ||
touch ./AppDir/iCode.desktop | ||
echo "# Desktop Entry Specification: https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html" >> ./AppDir/iCode.desktop | ||
echo "[Desktop Entry]" >> ./AppDir/iCode.desktop | ||
echo "Type=Application" >> ./AppDir/iCode.desktop | ||
echo "Name=iCode" >> ./AppDir/iCode.desktop | ||
echo "Comment=iOS Development Environement" >> ./AppDir/iCode.desktop | ||
echo "Icon=iCode" >> ./AppDir/iCode.desktop | ||
echo "Exec=iCode" >> ./AppDir/iCode.desktop | ||
echo "Path=~" >> ./AppDir/iCode.desktop | ||
echo "Terminal=true" >> ./AppDir/iCode.desktop | ||
echo "Categories=Development;" >> ./AppDir/iCode.desktop | ||
cp ./resources/images/icon.png ./AppDir/iCode.png | ||
wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" | ||
chmod a+x appimagetool-x86_64.AppImage | ||
./appimagetool-x86_64.AppImage ./AppDir -u "gh-releases-zsync|Dadoum|iCode|latest|iCode-*x86_64.AppImage.zsync" | ||
chmod +x iCode-x86_64.AppImage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters