-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PC Building Simulator script crashes #2021
Comments
So this is the @madoar Since you want to get rid of java call in the scripts, maybe you can add a dedicated function for this ? |
Why java calls in javascripts are undesirable now? |
From @qparis :
|
Should we then add something like |
With the java counterpart in phoenicis, I would assume yes, something like that (I do not know how those Beans work ^^). |
This is what I made based on
Would this work? |
I do not see why you would call this function in |
Shouldn't |
You can test ^^ (I am not a java expert). |
Me neither.
|
Where exactly is the |
I don't know. I wasn't able to find it in POL5 repo. |
Maybe this must be something like: var screenSize = Java.type('java.awt.Toolkit').getDefaultToolkit().getScreenSize(); |
@plata maybe we should change this to something similar to http://www.java2s.com/Code/Java/JavaFX/GetScreensize.htm (i.e. a JavaFX only solution). Ideally we implement a new |
I think we should declare a bean ScreenManager maybe |
Ok but where? |
Closing because PhoenicisOrg/scripts#1073 solves this issue. |
Expected behavior
After the
.preInstall
step the script should launch steam with the game ID argument and start the game installationActual behavior
Somewhere in that step I get this error:
Steps to reproduce
Run PC Building Simulator script. I'll see if this issue affects other scripts to see any common treads.
System information
3e7dbda
repo commit
PhoenicisOrg/scripts@99abb12
Ubuntu 19.04 x64 5.0.0-17-generic
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu219.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu219.04.1, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: