Allow users to export PowerShell scripts

This commit is contained in:
Glavo
2021-10-15 23:04:15 +08:00
committed by Yuhui Huang
parent 12368375cf
commit 67feca075b
9 changed files with 215 additions and 51 deletions

View File

@@ -292,7 +292,8 @@ download.javafx.prepare=Ready to download
extension.bat=Windows Bat file
extension.mod=Mod file
extension.png=Image file
extension.sh=Bash shell
extension.ps1=PowerShell Script
extension.sh=Bash Script
fatal.javafx.incompatible=Application cannot patch JavaFX on current Java environment below 11.\nPlease run this app using JDK 11 or higher or a JDK with JavaFX bundled.
fatal.javafx.missing=JavaFX is missing.\nIf you are using Java 11 or later, please downgrade to Oracle JRE 8, or install BellSoft Liberica Full JRE.\nIf you are using other OpenJDK builds, please ensure OpenJFX is included.
@@ -454,9 +455,13 @@ launch.advice.vanilla_x86.translation=Minecraft currently does not provide offic
launch.failed=Unable to launch
launch.failed.cannot_create_jvm=Java virtual machine could not be created. Java arguments may cause issues. Please restart without JVM arguments.
launch.failed.creating_process=Failed to create process. Check your Java path.
launch.failed.command_too_long=The command length exceeds the limit so cannot create bat script. Please export it as PowerShell script.
launch.failed.decompressing_natives=Unable to decompress native libraries.
launch.failed.download_library=Unable to download library %s.
launch.failed.executable_permission=Unable to add permission to the launch script
launch.failed.executable_permission=Unable to add permission to the launch script.
launch.failed.execution_policy=Set execution policy
launch.failed.execution_policy.failed_to_set=Failed to set execution policy
launch.failed.execution_policy.hint=The current execution policy prevents running of PowerShell scripts.\nClick 'Ok' to allow the current user to execute PowerShell scripts,or click 'Cancel' to keep the status quo.
launch.failed.exited_abnormally=Game exited abnormally, please check the log, or ask someone for help.
launch.failed.no_accepted_java=Cannot find the Java installation suitable for current game. If you think you have installed a suitable Java VM, you can manually select it in game settings.
launch.state.dependencies=Dependencies