From 9f61ddc837a8aacae8061f4fa0bf18e9e399c1e5 Mon Sep 17 00:00:00 2001 From: Fayne Aldan Date: Mon, 25 Jul 2022 11:59:33 -0600 Subject: [PATCH] Update to PolyMC 1.4.0 Update Java paths to be relative --- PolyMCPortable/App/AppInfo/Launcher/PolyMCPortable.ini | 8 +------- PolyMCPortable/App/AppInfo/appinfo.ini | 4 ++-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/PolyMCPortable/App/AppInfo/Launcher/PolyMCPortable.ini b/PolyMCPortable/App/AppInfo/Launcher/PolyMCPortable.ini index 0abd042..f0edb6a 100644 --- a/PolyMCPortable/App/AppInfo/Launcher/PolyMCPortable.ini +++ b/PolyMCPortable/App/AppInfo/Launcher/PolyMCPortable.ini @@ -8,10 +8,4 @@ WaitForProgram=false WaitForOtherInstances=false [Environment] -POLYMC_JAVA_PATHS=%PAL:PortableAppsDir%\CommonFiles\Java\bin\javaw.exe;%PAL:PortableAppsDir%\CommonFiles\Java64\bin\javaw.exe;%PAL:PortableAppsDir%\CommonFiles\JDK\bin\javaw.exe;%PAL:PortableAppsDir%\CommonFiles\JDK64\bin\javaw.exe;%PAL:PortableAppsDir%\CommonFiles\OpenJDK\bin\javaw.exe;%PAL:PortableAppsDir%\CommonFiles\OpenJDK64\bin\javaw.exe;%PAL:PortableAppsDir%\CommonFiles\OpenJDKJRE\bin\javaw.exe;%PAL:PortableAppsDir%\CommonFiles\OpenJDKJRE64\bin\javaw.exe - -[FileWrite1] -Type=Replace -File=%PAL:DataDir%\polymc.cfg -Find=%PAL:LastPortableAppsBaseDir:ForwardSlash%/ -Replace=%PAL:PortableAppsBaseDir:ForwardSlash%/ +POLYMC_JAVA_PATHS="..\..\CommonFiles\Java\bin\javaw.exe;..\..\CommonFiles\Java64\bin\javaw.exe;..\..\CommonFiles\JDK\bin\javaw.exe;..\..\CommonFiles\JDK64\bin\javaw.exe;..\..\CommonFiles\OpenJDK\bin\javaw.exe;..\..\CommonFiles\OpenJDK64\bin\javaw.exe;..\..\CommonFiles\OpenJDKJRE\bin\javaw.exe;..\..\CommonFiles\OpenJDKJRE64\bin\javaw.exe" diff --git a/PolyMCPortable/App/AppInfo/appinfo.ini b/PolyMCPortable/App/AppInfo/appinfo.ini index fdf46ef..3834896 100644 --- a/PolyMCPortable/App/AppInfo/appinfo.ini +++ b/PolyMCPortable/App/AppInfo/appinfo.ini @@ -22,8 +22,8 @@ CommercialUse=true UsesJava=yes [Version] -PackageVersion=1.3.2.0 -DisplayVersion=1.3.2 +PackageVersion=1.4.0.0 +DisplayVersion=1.4.0 [Control] Icons=1