Native Access

Native Access
🌎 descrição traduzida automaticamente 🇺🇸 -> 🇧🇷 👇🏻
A maneira aprimorada de gerenciar todo o seu software Native Instruments.
#!/bin/bash
set -e
source <(curl -sSL https://estudio-plus.pages.dev/functions.lib)
if command -v winetricks >/dev/null 2>&1; then
winetricks -f -q dotnet48 powershell win11 2>/dev/null
else
bashrun-url yabridge-dev
fi
script() {
wget -q --show-progress "https://native-instruments.com/fileadmin/downloads/Native-Access_2.exe"
bashrun-url wine-tkg
killall -9 wineserver
wine "$PWD"/Native-Access_2.exe
bashrun-url wine-d2d1
killall -9 wineserver
}
tmprun script
REPO='winegui/WineGUI'
CURRENT="$(winegui --version | cut -d ' ' -f2)"
LATEST="$(curl -sSL "https://api.github.com/repos/$REPO/releases/latest" | grep resolute | head -1 | cut -d '"' -f4 | cut -d '-' -f2 | sed 's/v//')"
if [[ "$CURRENT" != "$LATEST" ]]; then
printf "%s\n" "$REPO"
printf "%s\n" "$CURRENT <- $LATEST"
tmprun init
else
printf "%s\n" "$REPO"
printf "%s\n" "$CURRENT = $LATEST"
fi
