Skip to content

ReStreet: FIFA Street (2012) recompiled for Windows PC, with online play, a launcher with friends, chat and rooms. Bring your own game.

Change Launcher window name to "Launcher - ReStreet"

forestcolatea2037748add
diff --git a/Launcher/FifaStreetLauncher/ui/launcher.html b/Launcher/FifaStreetLauncher/ui/launcher.html
index 856410b..8767815 100644
--- a/Launcher/FifaStreetLauncher/ui/launcher.html
+++ b/Launcher/FifaStreetLauncher/ui/launcher.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang="en"><head><meta charset="utf-8"><title>ReStreet</title>
+<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Launcher - ReStreet</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
:root{
@@ -724,4 +724,4 @@ addEventListener('click', () => pm.classList.remove('on'));
if (host) { host.addEventListener('message', e => !e.data ? 0 : e.data.type === 'social' ? renderSocial(e.data) : e.data.type === 'perf' ? renderPerf(e.data) : e.data.type === 'perfHistory' ? renderHistory(e.data) : String(e.data.type).startsWith('update') ? renderUpdate(e.data) : render(e.data)); send({cmd: 'state'}); }
addEventListener('mousemove', e => { for (const g of document.querySelectorAll('.glass')) { const r = g.getBoundingClientRect(); g.style.setProperty('--mx', ((e.clientX - r.left) / r.width * 100) + '%'); } });
</script>
-<script src="lang.js"></script></body></html>
\ No newline at end of file
+<script src="lang.js"></script></body></html>
diff --git a/Viewer/resources/app/main.js b/Viewer/resources/app/main.js
index f81b715..747cdb8 100644
--- a/Viewer/resources/app/main.js
+++ b/Viewer/resources/app/main.js
@@ -28,7 +28,7 @@ app.whenReady().then(() => {
height: Math.max(h || 720, 560),
minWidth: 900,
minHeight: 560,
- title: 'ReStreet Launcher',
+ title: 'Launcher - ReStreet',
backgroundColor: '#0b0c12',
autoHideMenuBar: true,
show: false,
@@ -36,6 +36,7 @@ app.whenReady().then(() => {
webPreferences: { contextIsolation: true, nodeIntegration: false },
});
win.removeMenu();
+ win.on('page-title-updated', (e) => e.preventDefault());
win.once('ready-to-show', () => win.show());
// The page never leaves the launcher: no pop-ups, no navigation elsewhere.