Managing macOS apps with mise
Mise downloads GitHub release assets, but it does not install DMG applications into
Then declare apps using mise’s GitHub backend:
For ZIP releases containing an
Install or upgrade:
Mise downloads GitHub release assets, but it does not install DMG applications into
/Applications. Add this custom global task to ~/.config/mise/config.toml:
[tasks."macos:install-dmg-app"]
hide = true
run = '''
set -euo pipefail
install_path="${MISE_TOOL_INSTALL_PATH:?MISE_TOOL_INSTALL_PATH is required}"
dmg_pattern="${MACOS_DMG_PATTERN:-*.dmg}"
app_pattern="${MACOS_APP_PATTERN:-*.app}"
dmg="$(find "$install_path" -maxdepth 1 -name "$dmg_pattern" -type f -print -quit)"
app_root="$install_path"
if [ -n "$dmg" ]; then
mount="$(hdiutil attach "$dmg" -nobrowse -readonly |
awk '/\/Volumes\// {print substr($0, index($0, "/Volumes/")); exit}')"
cleanup() {
hdiutil detach "$mount" -quiet 2>/dev/null || true
}
trap cleanup EXIT
app_root="$mount"
fi
app="$(find "$app_root" -maxdepth 1 -name "$app_pattern" -type d -print -quit)"
[ -n "$app" ] || { echo "No .app found in $app_root"; exit 1; }
app_name="${MACOS_APP_NAME:-$(basename "$app")}"
case "$app_name" in
*.app) ;;
*) app_name="$app_name.app" ;;
esac
ditto "$app" "/Applications/$app_name"
'''
Then declare apps using mise’s GitHub backend:
[tools."github:user/repo"]
version = "latest"
asset_pattern = "App-darwin-arm64-{{ version }}.dmg"
postinstall = "mise run --skip-tools --raw macos:install-dmg-app"
For ZIP releases containing an
.app:
asset_pattern = "App-*.zip"
strip_components = 0
postinstall = "mise run --skip-tools --raw macos:install-dmg-app"
Install or upgrade:
mise install
mise upgrade
Open-source Islamic platform for adhkar, Quran reading, search, and daily progress.
https://kunuz.net/en/apps/muttasiq
https://kunuz.net/en/apps/muttasiq
❤3
Forwarded from Hacker News
PostgreSQL for Everything (🔥 Score: 153+ in 3 hours)
Link: https://readhacker.news/s/736dr
Comments: https://readhacker.news/c/736dr
Link: https://readhacker.news/s/736dr
Comments: https://readhacker.news/c/736dr
Forwarded from Hacker News
HTML Can Do That (Score: 157+ in 1 day)
Link: https://readhacker.news/s/736EB
Comments: https://readhacker.news/c/736EB
Link: https://readhacker.news/s/736EB
Comments: https://readhacker.news/c/736EB
Chris Burnell
HTML Can Do That
HTML has been gobbling up swathes of what used to be JavaScript’s remit. This page lists a bunch of dynamic functionality that we can now achieve with just HTML.
Forwarded from Hacker News
Thinking in Python (Score: 150+ in 13 hours)
Link: https://readhacker.news/s/73jgc
Comments: https://readhacker.news/c/73jgc
Link: https://readhacker.news/s/73jgc
Comments: https://readhacker.news/c/73jgc
Forwarded from XM Firmware Updater
Xiaomi Flashable Firmware Creator v2.3.3
Highlights
• Fixes #388: payload/A/B firmware packages now use an architecture-neutral recovery shell updater instead of the bundled 32-bit ARM executable, allowing installation on ARM64-only recoveries.
• Validates A/B OTA metadata, target device, active slot, image integrity, partition mappings, capacity, and writable state before the first partition write.
• Flashes the inactive slot first, then the active slot, using durable writes and exact-length SHA-256 readback verification.
• Restores read-only partition state on success or failure and aborts if block-device identity changes.
• Preserves legacy non-payload ROM updater binaries unchanged.
• Detects payload ROMs only when the archive contains an exact payload.bin entry.
https://github.com/XiaomiFirmwareUpdater/xiaomi-flashable-firmware-creator/releases/tag/v2.3.3
Highlights
• Fixes #388: payload/A/B firmware packages now use an architecture-neutral recovery shell updater instead of the bundled 32-bit ARM executable, allowing installation on ARM64-only recoveries.
• Validates A/B OTA metadata, target device, active slot, image integrity, partition mappings, capacity, and writable state before the first partition write.
• Flashes the inactive slot first, then the active slot, using durable writes and exact-length SHA-256 readback verification.
• Restores read-only partition state on success or failure and aborts if block-device identity changes.
• Preserves legacy non-payload ROM updater binaries unchanged.
• Detects payload ROMs only when the archive contains an exact payload.bin entry.
https://github.com/XiaomiFirmwareUpdater/xiaomi-flashable-firmware-creator/releases/tag/v2.3.3
GitHub
Release v2.3.3 · XiaomiFirmwareUpdater/xiaomi-flashable-firmware-creator
Highlights
Fixes #388: payload/A/B firmware packages now use an architecture-neutral recovery shell updater instead of the bundled 32-bit ARM executable, allowing installation on ARM64-only recove...
Fixes #388: payload/A/B firmware packages now use an architecture-neutral recovery shell updater instead of the bundled 32-bit ARM executable, allowing installation on ARM64-only recove...
❤4
Forwarded from XM Firmware Updater
Xiaomi Flashable Firmware Creator GUI v2.3.19
Highlights
• Uses Xiaomi Flashable Firmware Creator 2.3.3 and routes package generation through the payload-aware flashing-script path.
• Fixes issue #388 for GUI-generated payload/A/B firmware: packages now contain the architecture-neutral recovery shell updater and work on ARM64-only recoveries.
• Preserves legacy non-payload package behavior.
https://github.com/XiaomiFirmwareUpdater/xiaomi-flashable-firmware-creator-gui/releases/tag/v2.3.19
Highlights
• Uses Xiaomi Flashable Firmware Creator 2.3.3 and routes package generation through the payload-aware flashing-script path.
• Fixes issue #388 for GUI-generated payload/A/B firmware: packages now contain the architecture-neutral recovery shell updater and work on ARM64-only recoveries.
• Preserves legacy non-payload package behavior.
https://github.com/XiaomiFirmwareUpdater/xiaomi-flashable-firmware-creator-gui/releases/tag/v2.3.19
GitHub
Release v2.3.19 · XiaomiFirmwareUpdater/xiaomi-flashable-firmware-creator-gui
Highlights
Uses Xiaomi Flashable Firmware Creator 2.3.3 and routes package generation through the payload-aware flashing-script path.
Fixes #388 for GUI-generated payload/A/B firmware: packages no...
Uses Xiaomi Flashable Firmware Creator 2.3.3 and routes package generation through the payload-aware flashing-script path.
Fixes #388 for GUI-generated payload/A/B firmware: packages no...
Android App Reverse Engineering 101
https://www.ragingrock.com/AndroidAppRE/
https://github.com/maddiestone/AndroidAppRE
https://www.ragingrock.com/AndroidAppRE/
https://github.com/maddiestone/AndroidAppRE
yshalsager's Channel
https://github.com/ludwig-pro/lu-cleaner
mise use -g 'github:ludwig-pro/lu-cleaner[asset_pattern=lu-cleaner_macOS_universal.tar.gz]@latest'