AppImage script: fix Done message; PUSH_TO_GITEA: add git identity step
Made-with: Cursor
This commit is contained in:
+10
-3
@@ -1,8 +1,15 @@
|
|||||||
# Push to your Gitea
|
# Push to your Gitea
|
||||||
|
|
||||||
1. **Create a new repository** on your Gitea instance (e.g. `bulk-renamer`, empty, no README).
|
1. **Set Git identity** (if not already set):
|
||||||
|
```bash
|
||||||
|
git config --global user.email "you@example.com"
|
||||||
|
git config --global user.name "Your Name"
|
||||||
|
```
|
||||||
|
To fix the initial commit author: `git commit --amend --reset-author --no-edit`
|
||||||
|
|
||||||
2. **Add the remote and push** (replace with your Gitea URL and username):
|
2. **Create a new repository** on your Gitea instance (e.g. `bulk-renamer`, empty, no README).
|
||||||
|
|
||||||
|
3. **Add the remote and push** (replace with your Gitea URL and username):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd "/home/jorg/Documents/Cursor Projects/Bulk Renamer"
|
cd "/home/jorg/Documents/Cursor Projects/Bulk Renamer"
|
||||||
@@ -14,4 +21,4 @@ git branch -M main
|
|||||||
git push -u origin main
|
git push -u origin main
|
||||||
```
|
```
|
||||||
|
|
||||||
3. If Gitea asks for auth, use your normal login (or a token for HTTPS).
|
4. If Gitea asks for auth, use your normal login (or a token for HTTPS).
|
||||||
|
|||||||
Regular → Executable
+3
-3
@@ -48,9 +48,9 @@ EOF
|
|||||||
|
|
||||||
echo "=== Building AppImage (requires appimagetool) ==="
|
echo "=== Building AppImage (requires appimagetool) ==="
|
||||||
if command -v appimagetool &>/dev/null; then
|
if command -v appimagetool &>/dev/null; then
|
||||||
appimagetool "$APPDIR" "${APP_NAME}-${VERSION:-dev}.AppImage" 2>/dev/null || \
|
OUT="${APP_NAME}.AppImage"
|
||||||
appimagetool "$APPDIR" "${APP_NAME}.AppImage"
|
appimagetool "$APPDIR" "$OUT"
|
||||||
echo "Done: ${APP_NAME}.AppImage (or ${APP_NAME}-dev.AppImage)"
|
echo "Done: $OUT"
|
||||||
else
|
else
|
||||||
echo "AppDir is ready at $APPDIR/"
|
echo "AppDir is ready at $APPDIR/"
|
||||||
echo "To create the .AppImage, install appimagetool and run:"
|
echo "To create the .AppImage, install appimagetool and run:"
|
||||||
|
|||||||
Reference in New Issue
Block a user