Skip to content

Commit

Permalink
Update to PolyMC 1.4.0
Browse files Browse the repository at this point in the history
Update Java paths to be relative
  • Loading branch information
RuiNtD committed Jul 25, 2022
1 parent 7a9415e commit 9f61ddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions PolyMCPortable/App/AppInfo/Launcher/PolyMCPortable.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions PolyMCPortable/App/AppInfo/appinfo.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f61ddc

Please sign in to comment.