13 |
14 |
15 |
{message.name}
69 |{message.message}
73 |{
{message.name}
{message.message}
93 |{title}
19 |{id}
20 |{title}
6 | ) 7 | } 8 | 9 | export default Title; -------------------------------------------------------------------------------- /src/partials/TitleBar.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import '../css/TitleBar.css' 3 | import { useState, useEffect } from 'react'; 4 | import { useLocation } from "react-router-dom"; 5 | import { VscChromeClose, VscChromeMaximize, VscChromeMinimize, VscChromeRestore } from "react-icons/vsc"; 6 | function TitleBar() { 7 | const [ maximized, setMaximized ] = useState(false); 8 | const [ titleName, setTitleName ] = useState(null); 9 | const location = useLocation(); 10 | useEffect(() => { 11 | if (location.pathname === '/') 12 | setTitleName('Library'); 13 | if (location.pathname === '/create') 14 | setTitleName('Create A Mod'); 15 | if (location.pathname === '/settings') 16 | setTitleName('Settings'); 17 | 18 | }, [ location ]) 19 | 20 | const maximizeWindow = () => { 21 | window.electron.maximizeWindow(); 22 | setMaximized(!maximized) 23 | } 24 | const closeWindow = () => { 25 | window.close(); 26 | } 27 | const minimizeWindow = () => { 28 | window.electron.minimizeWindow(); 29 | } 30 | 31 | 32 | return ( 33 | <> 34 |Progress:
23 |v0.1.4-alpha
5 | ) 6 | } 7 | export default VersionVisuals; -------------------------------------------------------------------------------- /src/views/Create.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import '../css/Create.css'; 3 | function Create() { 4 | return ( 5 |Logs
259 | 260 |Game
261 | 262 |Mods
263 | 264 |Mods available
274 |No mods are currently installed
298 |Global Settings
308 |Emulator
309 |PS4 Pro Mode
311 |Fullscreen
315 |Show Splash
319 |Graphics
322 |Screen Width:
324 | { setScreenWidth(e.target.value) }} /> 325 |Screen Height:
328 | setScreenHeight(e.target.value)} /> 329 |Vblank Divider
332 | { setvBlankDivider(e.target.value) }} /> 333 |Logger
335 |Enable Async
337 |{selectedApp.title}
350 |ID:
353 |{selectedApp.id}
354 |Total mods:
358 |{modsForCurrentApp.length}
359 |No mods installed
362 |Enabled Mods:
366 |{enabledMods.length}
367 |Disabled Mods:
371 |{disabledMods.length}
372 |Mods available
383 |No mods are currently installed
402 |Global Settings
410 |Emulator
411 |PS4 Pro Mode
413 |Fullscreen
417 |Show Splash
421 |Graphics
424 |Screen Width:
426 | { setScreenWidth(e.target.value) }} /> 427 |Screen Height:
430 | setScreenHeight(e.target.value)} /> 431 |Vblank Divider
434 | { setvBlankDivider(e.target.value) }} /> 435 |Logger
437 |Enable Async
439 |{selectedApp.title}
453 |ID:
456 |{selectedApp.id}
457 |Total mods:
461 |{modsForCurrentApp.length}
462 |No mods installed
465 |Enabled Mods:
469 |{enabledMods.length}
470 |Disabled Mods:
474 |{disabledMods.length}
475 |No games library found
523 | 524 |shadPS4 Location
60 |{shadPS4Location ? shadPS4Location : 'No shadPS4.exe location specified'} 61 | 62 |
63 |Games Location
66 |{libraryDirectory ? libraryDirectory : 'No library directory specified'} 67 | 68 |
69 |Mods Location
72 |{modsDirectory ? modsDirectory : 'No mods directory specified'} 73 | 74 |
75 |