Epic Games Launcher
Informations
Créateur | Messages |
---|---|
Yaotl
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience0 1 DescriptionCaptures d'écranCode source#!/usr/bin/env playonlinux-bash # Date : (2020-07-19) # Last revision : see changelog # Distribution used to test : Linux Mint 20 Cinnamon # Author : Yaotl # Licence : GPLv3 # PlayOnLinux : 4.3.4 # # BETA Script # # # CHANGELOG # [Yaotl] (2020-07-19) # First script. # [Dadu042] (2019-04-28 18:11) # [CHANGED] Remove POL_SetupWindow_SetID because unused anymore. # [CHANGED] 'exit' -> 'exit 0' # [FIXED] POL_System_SetArch location. # [Yaotl] (2020-07-29 15:10) # [CHANGED] Added a way for a local installation. # [CHANGED] Enable UseGLSL & Enable OpenGL. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Initialization POL_SetupWindow_Init POL_Debug_Init PREFIX="EpicGamesLauncher" TITLE="Epic Games Launcher" WINEVERSION="5.11-staging" DOWNLOAD_URL="https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" # Presentation POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX" # Checks the required POL/POM version POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update." POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" # Determine Architecture POL_System_SetArch "amd64" POL_Wine_PrefixCreate "$WINEVERSION" # Dependencies POL_Call POL_Install_corefonts POL_Call POL_Install_vcrun2019 # Loading d3d12 can cause problems. Therefore it is deleted. rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll" rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll" # Asking about memory size of graphic card POL_SetupWindow_VMS ${GAME_VMS} POL_Wine_Direct3D "UseGLSL" "enabled" POL_Wine_Direct3D "DirectDrawRenderer" "opengl" # Set Graphic Card informations keys for wine POL_Call POL_Install_VideoDriver # Configuration Set_OS "win81" # Installation POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation" INSTALLER="$APP_ANSWER" elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_URL" INSTALLER="$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" fi POL_SetupWindow_wait "Please wait" "$TITLE Installation in progress" POL_Wine msiexec /i "$INSTALLER" SKIP_AUTOLAUNCH="1" # Create Shortcut POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
GeneralError | Mardi 2 Aoüt 2022 à 14:00 |
GeneralError
|
MessagesSorry, but your script fails. Even after setting up the variables and changing amd64 to arm65 (for mac) it still fails. $ grep PLAY ~/.bashrc export PLAYONLINUX="/Applications/PlayOnMac.app/Contents/Resources/playonlinux" export PLAYONMAC="/Applications/PlayOnMac.app/Contents/Resources/playonlinux" $ /tmp/epic-script.sh mkdir: /plugins: Read-only file system [POL_SetupWindow_Init] Message: Creating new window for pid 68390 [POL_Debug_Init] Fatal: $TITLE must be set to use debugging API Error: Invalid port specification: [POL_SetupWindow_Close] Message: Closing window for pid 68390 Réponses |
GeneralError | Mardi 2 Aoüt 2022 à 13:53 |
GeneralError
|
MessagesWhy would you hardcode the POL_System_SetArch to "amd64" instead of running the `arch` command?
Réponses |
GeneralError | Mardi 2 Aoüt 2022 à 13:46 |
GeneralError
|
MessagesHere's what I get when I run it.
Réponses |
Yaotl | Dimanche 26 Juillet 2020 à 9:14 |
Yaotl
|
InformationCette mise à jour a été acceptée par l'équipe MessagesLast change: 2020-07-29 15-10 CEST Differences@@ -1,6 +1,6 @@ #!/usr/bin/env playonlinux-bash # Date : (2020-07-19) -# Last revision : (2020-07-19 23-11) +# Last revision : see changelog # Distribution used to test : Linux Mint 20 Cinnamon # Author : Yaotl # Licence : GPLv3 @@ -16,10 +16,13 @@ # [CHANGED] Remove POL_SetupWindow_SetID because unused anymore. # [CHANGED] 'exit' -> 'exit 0' # [FIXED] POL_System_SetArch location. +# [Yaotl] (2020-07-29 15:10) +# [CHANGED] Added a way for a local installation. +# [CHANGED] Enable UseGLSL & Enable OpenGL. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + # Initialization POL_SetupWindow_Init POL_Debug_Init @@ -27,19 +30,16 @@ PREFIX="EpicGamesLauncher" TITLE="Epic Games Launcher" WINEVERSION="5.11-staging" +DOWNLOAD_URL="https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" # Presentation POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX" - + # Checks the required POL/POM version POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update." POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE" -POL_System_TmpCreate "$PREFIX" -cd $POL_System_TmpDir -POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" - # Create Prefix POL_Wine_SelectPrefix "$PREFIX" @@ -47,29 +47,46 @@ POL_System_SetArch "amd64" POL_Wine_PrefixCreate "$WINEVERSION" - + # Dependencies POL_Call POL_Install_corefonts POL_Call POL_Install_vcrun2019 - + +# Loading d3d12 can cause problems. Therefore it is deleted. rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll" rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll" - + # Asking about memory size of graphic card POL_SetupWindow_VMS ${GAME_VMS} - + +POL_Wine_Direct3D "UseGLSL" "enabled" +POL_Wine_Direct3D "DirectDrawRenderer" "opengl" + # Set Graphic Card informations keys for wine POL_Call POL_Install_VideoDriver - + # Configuration Set_OS "win81" - + # Installation -POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1" - +POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" +if [ "$INSTALL_METHOD" = "LOCAL" ]; then + cd "$HOME" + POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation" + INSTALLER="$APP_ANSWER" +elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then + POL_System_TmpCreate "$PREFIX" + cd "$POL_System_TmpDir" + POL_Download "$DOWNLOAD_URL" + INSTALLER="$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" +fi + +POL_SetupWindow_wait "Please wait" "$TITLE Installation in progress" +POL_Wine msiexec /i "$INSTALLER" SKIP_AUTOLAUNCH="1" + # Create Shortcut POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;" - + # Cleanup POL_System_TmpDelete POL_SetupWindow_Close Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2020-07-19) # Last revision : see changelog # Distribution used to test : Linux Mint 20 Cinnamon # Author : Yaotl # Licence : GPLv3 # PlayOnLinux : 4.3.4 # # BETA Script # # # CHANGELOG # [Yaotl] (2020-07-19) # First script. # [Dadu042] (2019-04-28 18:11) # [CHANGED] Remove POL_SetupWindow_SetID because unused anymore. # [CHANGED] 'exit' -> 'exit 0' # [FIXED] POL_System_SetArch location. # [Yaotl] (2020-07-29 15:10) # [CHANGED] Added a way for a local installation. # [CHANGED] Enable UseGLSL & Enable OpenGL. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Initialization POL_SetupWindow_Init POL_Debug_Init PREFIX="EpicGamesLauncher" TITLE="Epic Games Launcher" WINEVERSION="5.11-staging" DOWNLOAD_URL="https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" # Presentation POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX" # Checks the required POL/POM version POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update." POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" # Determine Architecture POL_System_SetArch "amd64" POL_Wine_PrefixCreate "$WINEVERSION" # Dependencies POL_Call POL_Install_corefonts POL_Call POL_Install_vcrun2019 # Loading d3d12 can cause problems. Therefore it is deleted. rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll" rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll" # Asking about memory size of graphic card POL_SetupWindow_VMS ${GAME_VMS} POL_Wine_Direct3D "UseGLSL" "enabled" POL_Wine_Direct3D "DirectDrawRenderer" "opengl" # Set Graphic Card informations keys for wine POL_Call POL_Install_VideoDriver # Configuration Set_OS "win81" # Installation POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation" INSTALLER="$APP_ANSWER" elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_URL" INSTALLER="$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" fi POL_SetupWindow_wait "Please wait" "$TITLE Installation in progress" POL_Wine msiexec /i "$INSTALLER" SKIP_AUTOLAUNCH="1" # Create Shortcut POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesLundi 10 Aoüt 2020 à 8:21
Vendredi 4 September 2020 à 4:42
Vendredi 18 September 2020 à 8:44
Mardi 29 September 2020 à 13:10
Edité par Yaotl |
Dadu042 | Samedi 25 Juillet 2020 à 18:51 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -13,21 +13,21 @@ # [Yaotl] (2020-07-19) # First script. # [Dadu042] (2019-04-28 18:11) -# [CHANGED] Remove POL_SetupWindow_SetID because unused anymore. -# [CHANGED] 'exit' -> 'exit 0' +# [CHANGED] Remove POL_SetupWindow_SetID because unused anymore. +# [CHANGED] 'exit' -> 'exit 0' +# [FIXED] POL_System_SetArch location. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -PREFIX="EpicGamesLauncher" -TITLE="Epic Games Launcher" -WINEVERSION="5.11-staging" - # Initialization POL_SetupWindow_Init -POL_SetupWindow_SetID 4142 POL_Debug_Init - + +PREFIX="EpicGamesLauncher" +TITLE="Epic Games Launcher" +WINEVERSION="5.11-staging" + # Presentation POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX" @@ -41,8 +41,11 @@ POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" # Create Prefix -POL_System_SetArch "amd64" POL_Wine_SelectPrefix "$PREFIX" + +# Determine Architecture +POL_System_SetArch "amd64" + POL_Wine_PrefixCreate "$WINEVERSION" # Dependencies Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2020-07-19) # Last revision : (2020-07-19 23-11) # Distribution used to test : Linux Mint 20 Cinnamon # Author : Yaotl # Licence : GPLv3 # PlayOnLinux : 4.3.4 # # BETA Script # # # CHANGELOG # [Yaotl] (2020-07-19) # First script. # [Dadu042] (2019-04-28 18:11) # [CHANGED] Remove POL_SetupWindow_SetID because unused anymore. # [CHANGED] 'exit' -> 'exit 0' # [FIXED] POL_System_SetArch location. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Initialization POL_SetupWindow_Init POL_Debug_Init PREFIX="EpicGamesLauncher" TITLE="Epic Games Launcher" WINEVERSION="5.11-staging" # Presentation POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX" # Checks the required POL/POM version POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update." POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE" POL_System_TmpCreate "$PREFIX" cd $POL_System_TmpDir POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" # Determine Architecture POL_System_SetArch "amd64" POL_Wine_PrefixCreate "$WINEVERSION" # Dependencies POL_Call POL_Install_corefonts POL_Call POL_Install_vcrun2019 rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll" rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll" # Asking about memory size of graphic card POL_SetupWindow_VMS ${GAME_VMS} # Set Graphic Card informations keys for wine POL_Call POL_Install_VideoDriver # Configuration Set_OS "win81" # Installation POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1" # Create Shortcut POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
Dadu042 | Samedi 25 Juillet 2020 à 18:44 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -5,60 +5,69 @@ # Author : Yaotl # Licence : GPLv3 # PlayOnLinux : 4.3.4 - - +# # BETA Script +# +# +# CHANGELOG +# [Yaotl] (2020-07-19) +# First script. +# [Dadu042] (2019-04-28 18:11) +# [CHANGED] Remove POL_SetupWindow_SetID because unused anymore. +# [CHANGED] 'exit' -> 'exit 0' [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + PREFIX="EpicGamesLauncher" TITLE="Epic Games Launcher" WINEVERSION="5.11-staging" - -#Initialization + +# Initialization POL_SetupWindow_Init POL_SetupWindow_SetID 4142 POL_Debug_Init - + # Presentation POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX" - + # Checks the required POL/POM version POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update." +POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE" + POL_System_TmpCreate "$PREFIX" cd $POL_System_TmpDir POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" - + # Create Prefix POL_System_SetArch "amd64" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" - + # Dependencies POL_Call POL_Install_corefonts POL_Call POL_Install_vcrun2019 - + rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll" rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll" - + # Asking about memory size of graphic card POL_SetupWindow_VMS ${GAME_VMS} - + # Set Graphic Card informations keys for wine POL_Call POL_Install_VideoDriver - + # Configuration Set_OS "win81" - + # Installation POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1" - + # Create Shortcut POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;" - + # Cleanup POL_System_TmpDelete POL_SetupWindow_Close -exit \ No newline at end of file +exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2020-07-19) # Last revision : (2020-07-19 23-11) # Distribution used to test : Linux Mint 20 Cinnamon # Author : Yaotl # Licence : GPLv3 # PlayOnLinux : 4.3.4 # # BETA Script # # # CHANGELOG # [Yaotl] (2020-07-19) # First script. # [Dadu042] (2019-04-28 18:11) # [CHANGED] Remove POL_SetupWindow_SetID because unused anymore. # [CHANGED] 'exit' -> 'exit 0' [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="EpicGamesLauncher" TITLE="Epic Games Launcher" WINEVERSION="5.11-staging" # Initialization POL_SetupWindow_Init POL_SetupWindow_SetID 4142 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX" # Checks the required POL/POM version POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update." POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE" POL_System_TmpCreate "$PREFIX" cd $POL_System_TmpDir POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" # Create Prefix POL_System_SetArch "amd64" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Dependencies POL_Call POL_Install_corefonts POL_Call POL_Install_vcrun2019 rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll" rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll" # Asking about memory size of graphic card POL_SetupWindow_VMS ${GAME_VMS} # Set Graphic Card informations keys for wine POL_Call POL_Install_VideoDriver # Configuration Set_OS "win81" # Installation POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1" # Create Shortcut POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesSamedi 25 Juillet 2020 à 18:44
|
Yaotl | Mercredi 22 Juillet 2020 à 2:48 |
Yaotl
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,64 @@ +#!/usr/bin/env playonlinux-bash +# Date : (2020-07-19) +# Last revision : (2020-07-19 23-11) +# Distribution used to test : Linux Mint 20 Cinnamon +# Author : Yaotl +# Licence : GPLv3 +# PlayOnLinux : 4.3.4 + + +# BETA Script + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="EpicGamesLauncher" +TITLE="Epic Games Launcher" +WINEVERSION="5.11-staging" + +#Initialization +POL_SetupWindow_Init +POL_SetupWindow_SetID 4142 +POL_Debug_Init + +# Presentation +POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX" + +# Checks the required POL/POM version +POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update." + +POL_System_TmpCreate "$PREFIX" +cd $POL_System_TmpDir +POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" + +# Create Prefix +POL_System_SetArch "amd64" +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "$WINEVERSION" + +# Dependencies +POL_Call POL_Install_corefonts +POL_Call POL_Install_vcrun2019 + +rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll" +rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll" + +# Asking about memory size of graphic card +POL_SetupWindow_VMS ${GAME_VMS} + +# Set Graphic Card informations keys for wine +POL_Call POL_Install_VideoDriver + +# Configuration +Set_OS "win81" + +# Installation +POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1" + +# Create Shortcut +POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;" + +# Cleanup +POL_System_TmpDelete +POL_SetupWindow_Close +exit \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2020-07-19) # Last revision : (2020-07-19 23-11) # Distribution used to test : Linux Mint 20 Cinnamon # Author : Yaotl # Licence : GPLv3 # PlayOnLinux : 4.3.4 # BETA Script [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="EpicGamesLauncher" TITLE="Epic Games Launcher" WINEVERSION="5.11-staging" #Initialization POL_SetupWindow_Init POL_SetupWindow_SetID 4142 POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX" # Checks the required POL/POM version POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update." POL_System_TmpCreate "$PREFIX" cd $POL_System_TmpDir POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" # Create Prefix POL_System_SetArch "amd64" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" # Dependencies POL_Call POL_Install_corefonts POL_Call POL_Install_vcrun2019 rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll" rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll" # Asking about memory size of graphic card POL_SetupWindow_VMS ${GAME_VMS} # Set Graphic Card informations keys for wine POL_Call POL_Install_VideoDriver # Configuration Set_OS "win81" # Installation POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1" # Create Shortcut POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;" # Cleanup POL_System_TmpDelete POL_SetupWindow_Close exit RéponsesMercredi 22 Juillet 2020 à 8:04
|
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com