diff --git a/package-lock.json b/package-lock.json index 0dbee30..c05c6aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rplauncher", - "version": "1.4.3", + "version": "1.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "rplauncher", - "version": "1.4.3", + "version": "1.4.4", "cpu": [ "x64", "arm64" @@ -8434,13 +8434,19 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001303", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001303.tgz", - "integrity": "sha512-/Mqc1oESndUNszJP0kx0UaQU9kEv9nNtJ7Kn8AdA0mNnH8eR1cj0kG+NbNuC1Wq/b21eA8prhKRA3bbkjONegQ==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } + "version": "1.0.30001367", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001367.tgz", + "integrity": "sha512-XDgbeOHfifWV3GEES2B8rtsrADx4Jf+juKX2SICJcaUhjYBO3bR96kvEIHa15VU6ohtOhBZuPGGYGbXMRn0NCw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + } + ] }, "node_modules/capture-exit": { "version": "2.0.0", @@ -37811,9 +37817,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001303", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001303.tgz", - "integrity": "sha512-/Mqc1oESndUNszJP0kx0UaQU9kEv9nNtJ7Kn8AdA0mNnH8eR1cj0kG+NbNuC1Wq/b21eA8prhKRA3bbkjONegQ==" + "version": "1.0.30001367", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001367.tgz", + "integrity": "sha512-XDgbeOHfifWV3GEES2B8rtsrADx4Jf+juKX2SICJcaUhjYBO3bR96kvEIHa15VU6ohtOhBZuPGGYGbXMRn0NCw==" }, "capture-exit": { "version": "2.0.0", diff --git a/package.json b/package.json index 07df2dc..8edeeb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rplauncher", - "version": "1.4.3", + "version": "1.4.4", "description": "rPLauncher is simple, yet powerful Minecraft custom launcher with a strong focus on the user experience", "keywords": [ "minecraft", diff --git a/public/index.html b/public/index.html index affb1c2..3953b22 100644 --- a/public/index.html +++ b/public/index.html @@ -60,7 +60,7 @@ (ga.q = ga.q || []).push(arguments); }; ga.l = +new Date(); - ga('create', 'UA-147631204-1', 'none'); + ga('create', 'UA-219984072-2', 'none'); ga('set', 'transport', 'xhr'); ga('set', 'appName', 'rPLauncher'); ga('set', 'checkProtocolTask', null); @@ -84,9 +84,12 @@ --> rPLauncher - +
{ const defaultJavaPath = useSelector(state => _getJavaPath(state)(javaVersion) ); - const [javaLocalMemory, setJavaLocalMemory] = useState( - scaleMem(config?.javaMemory) - ); + const [javaLocalMemory, setJavaLocalMemory] = useState(config?.javaMemory); const [javaLocalArguments, setJavaLocalArguments] = useState( config?.javaArgs ); @@ -196,14 +194,12 @@ const Overview = ({ instanceName, background, manifest }) => { const [screenResolution, setScreenResolution] = useState(null); const [height, setHeight] = useState(config?.resolution?.height); const [width, setWidth] = useState(config?.resolution?.width); - useEffect(() => { ipcRenderer .invoke('getAllDisplaysBounds') .then(setScreenResolution) .catch(console.error); }, []); - const updateJavaMemory = v => { dispatch( updateInstanceConfig(instanceName, prev => ({ @@ -212,7 +208,6 @@ const Overview = ({ instanceName, background, manifest }) => { })) ); }; - const updateJavaArguments = v => { dispatch( updateInstanceConfig(instanceName, prev => ({ @@ -221,7 +216,6 @@ const Overview = ({ instanceName, background, manifest }) => { })) ); }; - const updateCustomJavaPath = v => { dispatch( updateInstanceConfig(instanceName, prev => ({ diff --git a/src/common/modals/InstanceManager/index.js b/src/common/modals/InstanceManager/index.js index 5a0ed68..4865582 100644 --- a/src/common/modals/InstanceManager/index.js +++ b/src/common/modals/InstanceManager/index.js @@ -312,7 +312,7 @@ const InstanceManager = ({ instanceName }) => { animation-play-state: inherit; border: solid 3px transparent; border-bottom-color: ${props => - props.theme.palette.common.white}; + props.theme.palette.common.white}; border-radius: 50%; content: ''; height: 20px;