Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.
Swift apple-silicond3dmetaldxmtdxvkfexgame-porting-toolkitgamingmac-gamingmacosmetalmoltenvksteamswiftuivkd3d-protonwhisky-alternativewindows-gameswinewine-wrapper
"Make a shortcut" is called "Make a Mac app", because that is what it makes
Gauthier Piarrette9ff749e500db
diff --git a/Sources/HighballApp/AppState.swift b/Sources/HighballApp/AppState.swiftindex 7e97c8f..faa3883 100644--- a/Sources/HighballApp/AppState.swift+++ b/Sources/HighballApp/AppState.swift@@ -1293,11 +1293,11 @@ final class AppState {} catch { fail(error) }}- /// Trashes the shortcut app for a game or a launcher (issue #97).+ /// Trashes the Mac app for a game or a launcher (issue #97).func removeMacApp(title: String) {do {try MacAppStub.remove(for: title)- appendLog("removed the shortcut for \(title) from ~/Applications/Highball")+ appendLog("removed the Mac app for \(title) from ~/Applications/Highball")} catch { fail(error) }}diff --git a/Sources/HighballApp/BottleView.swift b/Sources/HighballApp/BottleView.swiftindex a0e14af..fb6d5af 100644--- a/Sources/HighballApp/BottleView.swift+++ b/Sources/HighballApp/BottleView.swift@@ -115,9 +115,9 @@ struct BottleView: View {}.contextMenu {if MacAppStub.existing(for: meta.short) != nil {- Button(L("Remove the shortcut")) { state.removeMacApp(title: meta.short) }+ Button(L("Remove the Mac app")) { state.removeMacApp(title: meta.short) }} else {- Button(L("Make a shortcut…")) { state.makeMacApp(forLauncher: meta.id, short: meta.short) }+ Button(L("Make a Mac app…")) { state.makeMacApp(forLauncher: meta.id, short: meta.short) }}if installed, let pin {Button(L("Open")) { state.launch(pin: pin, in: bottle) }diff --git a/Sources/HighballApp/GameDetailView.swift b/Sources/HighballApp/GameDetailView.swiftindex d17c5ad..9e1e1fe 100644--- a/Sources/HighballApp/GameDetailView.swift+++ b/Sources/HighballApp/GameDetailView.swift@@ -271,11 +271,11 @@ struct GameDetailView: View {.help(L("Steam and the Epic tools do their own uninstalling, so their libraries stay right."))}if MacAppStub.existing(for: item.title) != nil {- Button(L("Remove the shortcut")) { state.removeMacApp(title: item.title) }.controlSize(.small)- .help(L("Moves this game's shortcut app in ~/Applications/Highball to the Trash."))+ Button(L("Remove the Mac app")) { state.removeMacApp(title: item.title) }.controlSize(.small)+ .help(L("Moves this game's Mac app in ~/Applications/Highball to the Trash."))} else if PlayLink.target(for: item) != nil {- Button(L("Make a shortcut…")) { state.makeMacApp(for: item) }.controlSize(.small)- .help(L("A small app in ~/Applications/Highball that starts this game without opening Highball first."))+ Button(L("Make a Mac app…")) { state.makeMacApp(for: item) }.controlSize(.small)+ .help(L("A real app in ~/Applications/Highball with the game's own icon, for the Dock, Spotlight or Launchpad. It starts the game without opening Highball first."))}}if let log = state.lastLaunchLog(for: item) {diff --git a/Sources/HighballApp/L10n.swift b/Sources/HighballApp/L10n.swiftindex a1b5451..4dd9d7c 100644--- a/Sources/HighballApp/L10n.swift+++ b/Sources/HighballApp/L10n.swift@@ -251,20 +251,20 @@ enum L10n {"Details": "Détails","Run and add to Programs": "Lancer et ajouter aux programmes","Keep current": "Garder l’actuel",- "Make a shortcut…": "Créer un raccourci…",- "Remove the shortcut": "Supprimer le raccourci",+ "Make a Mac app…": "Créer une app Mac…",+ "Remove the Mac app": "Supprimer l’app Mac","Rosetta is not working on this Mac": "Rosetta ne fonctionne pas sur ce Mac","Install Rosetta": "Installer Rosetta","a minute or two": "une minute ou deux","Highball's Wine engine is Intel code and needs Rosetta, Apple's translation layer. A macOS update can remove it. Highball can install it now, or run in Terminal: softwareupdate --install-rosetta --agree-to-license": "Le moteur Wine de Highball est du code Intel et a besoin de Rosetta, la couche de traduction d'Apple. Une mise à jour de macOS peut la retirer. Highball peut l'installer maintenant, ou lancez dans le Terminal : softwareupdate --install-rosetta --agree-to-license",- "Moves this game's shortcut app in ~/Applications/Highball to the Trash.": "Place le raccourci de ce jeu (dans ~/Applications/Highball) dans la corbeille.",+ "Moves this game's Mac app in ~/Applications/Highball to the Trash.": "Place l’app Mac de ce jeu (dans ~/Applications/Highball) dans la corbeille.","Uninstall Windows programs…": "Désinstaller des programmes Windows…","Opens Windows' Add/Remove Programs for this environment, for programs you installed into it.": "Ouvre Ajout/Suppression de programmes de Windows pour cet environnement, pour les programmes que vous y avez installés.","Steam's first start got stuck; restarting it": "Le premier démarrage de Steam s’est bloqué ; on le relance","That launcher link did not come from one of your Highball apps.": "Ce lien de lanceur ne vient pas d’une de vos apps Highball.","Open %@ in Highball?": "Ouvrir %@ dans Highball ?","This link did not come from one of your Highball apps, so it asks first.": "Ce lien ne vient pas d'une de vos apps Highball, donc il demande d'abord.",- "Make a shortcut: a small Mac app for this game in ~/Applications/Highball. Put it in the Dock or open it from Spotlight or Launchpad to play without opening Highball first.": "Crée un raccourci : une petite app Mac pour ce jeu dans ~/Applications/Highball. Mettez-la dans le Dock ou ouvrez-la depuis Spotlight ou Launchpad pour jouer sans ouvrir Highball.",+ "Make a Mac app: a real app for this game in ~/Applications/Highball, with the game's own icon. Put it in the Dock or open it from Spotlight or Launchpad to play without opening Highball first.": "Crée une app Mac : une vraie app pour ce jeu dans ~/Applications/Highball, avec l’icône du jeu. Mettez-la dans le Dock ou ouvrez-la depuis Spotlight ou Launchpad pour jouer sans ouvrir Highball.","Running": "En cours","Stop": "Arrêter","a cold Steam client can take a couple of minutes": "un client Steam à froid peut prendre quelques minutes",@@ -350,7 +350,7 @@ enum L10n {"A Windows program I have…": "Un programme Windows que j'ai…","A few counts from this Mac, no game names; you read the text before it is sent.": "Quelques comptages depuis ce Mac, sans nom de jeu ; vous lisez le texte avant l'envoi.","A newer engine is available": "Un moteur plus récent est disponible",- "A small app in ~/Applications/Highball that starts this game without opening Highball first.": "Une petite app dans ~/Applications/Highball qui lance ce jeu sans ouvrir Highball d'abord.",+ "A real app in ~/Applications/Highball with the game's own icon, for the Dock, Spotlight or Launchpad. It starts the game without opening Highball first.": "Une vraie app dans ~/Applications/Highball avec l’icône du jeu, pour le Dock, Spotlight ou Launchpad. Elle lance le jeu sans ouvrir Highball d’abord.","Add games": "Ajouter des jeux","Also installed in": "Aussi installé dans","An installer or game from your Mac. Or drop it onto this window.": "Un installateur ou un jeu présent sur votre Mac. Ou déposez-le sur cette fenêtre.",diff --git a/Sources/HighballApp/LibraryView.swift b/Sources/HighballApp/LibraryView.swiftindex 7ab0964..f44287a 100644--- a/Sources/HighballApp/LibraryView.swift+++ b/Sources/HighballApp/LibraryView.swift@@ -283,9 +283,9 @@ struct LibraryTile: View {Button(L("Stop")) { state.stopSession(running) }} else if playable { Button(L("Play")) { state.play(item) } }if MacAppStub.existing(for: item.title) != nil {- Button(L("Remove the shortcut")) { state.removeMacApp(title: item.title) }+ Button(L("Remove the Mac app")) { state.removeMacApp(title: item.title) }} else if playable, PlayLink.target(for: item) != nil {- Button(L("Make a shortcut…")) { state.makeMacApp(for: item) }+ Button(L("Make a Mac app…")) { state.makeMacApp(for: item) }}Button(L("Choose cover image…")) { state.chooseCover(for: item) }if state.coverStore.coverURL(for: item.id) != nil {